CertificateRequest.CreateSelfSigned with ECDSA with invalid key usage #42751
Labels
area-System.Security
backlog-cleanup-candidate
An inactive issue that has been marked for automated closure.
no-recent-activity
If you attempt to create a self signed certificate with
CertificateRequest
with an ECDsa key and a key usage that makes the certificate ineligible for ECDSA usage, it fails with a less-than-clear exception.Produces:
We should validate the key usages and key type in
CreateSelfSigned
and give a better exception.Reproduced in Core 3.1 and 5.0 RC1.
The text was updated successfully, but these errors were encountered: