When I try to import a self-signed certificate to Azure Key Vault, I get the following error:
The specified X.509 certificate content is invalid. Error: x.509 authority key identifier extension is malformed..
I have checked the certificate using
openssl x509 -in test.pfx -text -noout and the authority key identifier extension looks like:
X509v3 Subject Key Identifier:
X509v3 Authority Key Identifier:
(Note: I have anonymized the data in DirName)
Any help on why this is malformed? How can I generate a good certificate to be imported to the the key vault?
BTW, the certificate works fine for Application Gateway when I upload it manually.