"Authority Key Identifier Extension is malformed" when importing CA-signed certificate to Azure Key Vault

Malhar 0 Reputation points
2024-07-03T15:47:38.4433333+00:00

When I try to import a CA-signed certificate to Azure Key Vault in both .pfx or .pem format, I'm getting the following error:

CODE BadParameter
MESSAGE 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 certificate.pfx -text -noout and the authority key identifier extension values are different from each other.
So I would like to understand, is it necessary that both Subject Key Identifier & Authority Key Identifier values should be same?certificate_subject_authority_key

User's image

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,175 questions
{count} votes