Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions SecurityService/Configuration/KestrelCertificateLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ private static X509Certificate2 LoadCertificateFromPath(string certificatePath,
throw new FileNotFoundException($"The configured Kestrel certificate '{certificatePath}' was not found.", certificatePath);
}

return X509CertificateLoader.LoadPkcs12FromFile(
certificatePath,
password,
X509KeyStorageFlags.EphemeralKeySet);
return X509CertificateLoader.LoadPkcs12FromFile(certificatePath, password);
}

private static string ResolveCertificatePath(string certificatePath, string contentRootPath)
Expand Down
Loading