-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-System.SecurityIssues related to security practices for .NET developers.Issues related to security practices for .NET developers.untriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
Type of issue
Typo
Description
Hi, it would be nice to add a hint that the certificate that is loaded via "X509Certificate2.CreateFromPemFile()" cannot be used in some scenarios directly.
If you want the present it to your Kestrel server it is not valid, not allowing a client to connect (No Server Hello).
You would need to export/create it like so:
certificate = X509Certificate2.CreateFromPemFile(
certificatePath,
certificatePrivatePath);
certificate = new X509Certificate2(certificate.Export(X509ContentType.Pkcs12));
Page URL
Content source URL
Document Version Independent Id
dcb4e1f8-d29a-bf51-2d12-58d8c06cbf54
Platform Id
d378ae0e-0999-c43e-e3c6-d63fa87b0002
Article author
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.SecurityIssues related to security practices for .NET developers.Issues related to security practices for .NET developers.untriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner