@azure
Thank you for your post!
In order to create an EC certificate, you'll have to add the appropriate parameters to the key properties section, I'll share my JSON Body below to hopefully help resolve your issue.
EC JSON Body:
- Added the key property
crv
, which is the JsonWebKeyCurveName. - Changed
kty
, the JsonWebKeyType to EC - Changed the
key_size
to one of the supported sizes - 256, 384, 521 {
"policy": {
"key_props": {
"exportable": true,
"crv": "P-256",
"kty": "EC",
"key_size": 256,
"reuse_key": false
},
"secret_props": {
"contentType": "application/x-pkcs12"
},
"x509_props": {
"subject": "CN=*.microsoft.com",
"sans": {
"dns_names": [
"onedrive.microsoft.com",
"xbox.microsoft.com"
]
}
},
"issuer": {
"name": "Self"
}
}
}
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.