diff --git a/Domain/Sia.Shared/Authentication/Certificates/LocalCertificateRetriever.cs b/Domain/Sia.Shared/Authentication/Certificates/LocalCertificateRetriever.cs index 96b1731..2dd0235 100644 --- a/Domain/Sia.Shared/Authentication/Certificates/LocalCertificateRetriever.cs +++ b/Domain/Sia.Shared/Authentication/Certificates/LocalCertificateRetriever.cs @@ -33,7 +33,7 @@ namespace Sia.Shared.Authentication using (X509Store store = new X509Store("My", location)) { store.Open(OpenFlags.ReadOnly | OpenFlags.OpenExistingOnly); - X509Certificate2Collection certificates = store.Certificates.Find(X509FindType.FindByThumbprint, _certThumbprint, false); + X509Certificate2Collection certificates = store.Certificates.Find(X509FindType.FindByThumbprint, _certThumbprint, validOnly: false); if (certificates.Count > 0) { return Task.FromResult(certificates[0]); diff --git a/Domain/Sia.Shared/Sia.Shared.csproj b/Domain/Sia.Shared/Sia.Shared.csproj index a14c749..010a78a 100644 --- a/Domain/Sia.Shared/Sia.Shared.csproj +++ b/Domain/Sia.Shared/Sia.Shared.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 1.1.25-alpha + 1.1.21-alpha Microsoft.Sia.Shared pdimit, magpint, jache, chtownes Microsoft