diff --git a/src/Shared/CertificateGeneration/MacOSCertificateManager.cs b/src/Shared/CertificateGeneration/MacOSCertificateManager.cs index b5999d6a2776..343a93f00bcd 100644 --- a/src/Shared/CertificateGeneration/MacOSCertificateManager.cs +++ b/src/Shared/CertificateGeneration/MacOSCertificateManager.cs @@ -375,7 +375,7 @@ protected override IList GetCertificatesToRemove(StoreName sto protected override void PopulateCertificatesFromStore(X509Store store, List certificates) { - if (store.Name! == StoreName.My.ToString() && store.Location == store.Location && Directory.Exists(MacOSUserHttpsCertificateLocation)) + if (store.Name! == StoreName.My.ToString() && store.Location == StoreLocation.CurrentUser && Directory.Exists(MacOSUserHttpsCertificateLocation)) { var certsFromDisk = GetCertsFromDisk(); @@ -388,7 +388,10 @@ protected override void PopulateCertificatesFromStore(X509Store store, List