Hello @Sushil Yadav ,
Thanks for reaching out.
Azure Key Vault supports .pem and .pfx certificate files for importing Certificates into Key vault. We support the following type of Import for PEM file format. A single PEM encoded certificate along with a PKCS#8 encoded, unencrypted key which has the following
-----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
-----BEGIN PRIVATE KEY----- -----END PRIVATE KEY-----
When you are importing the certificate, you need to ensure that the key is included in the file itself. If you have the private key separately in a different format, you would need to combine the key with the certificate. Some certificate authorities provide certificates in different formats, therefore before importing the certificate, make sure that they are either in .pem or .pfx format.
Note: A certificate in .pem format, the private part should not be encrypted with RSA
For more information, read https://learn.microsoft.com/en-us/azure/key-vault/certificates/certificate-scenarios#import-a-certificate
Hope this helps.
----------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.