Getting error while generating certificate in azure key vault.

ITTI_User 0 Reputation points
2025-05-15T13:21:20.41+00:00

we are trying to generate a SSL certificate from CA which we want to configure in the azure key vault and we will need the pfx file for integration purpose. but the certificate is not validating showing failed error status.

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,448 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michele Ariis 1,960 Reputation points MVP
    2025-05-15T13:48:31.0433333+00:00

    Hi, this issue depends on which certificate workflow you chose in Key Vault and where it’s failing. First, open the certificate in the portal, go to Certificate operation → Status / Error details, and check which step failed.

    -If you chose "Certificate issued by an integrated CA" (DigiCert / GlobalSign):

    You must have created an Issuer object with valid CA API credentials.

    Key Vault generates a CSR and waits for you to complete domain validation (DNS or email) on the CA portal. If you skip this, it times out and fails.

    Once validated, the CA issues the cert, Key Vault merges it, and you can download the PFX (if exportable was enabled).

    -If you chose "Generate CSR" to use with an external or internal CA:

    Key Vault gives you the CSR to send to your CA.

    You must go back and use Merge signed certificate on the same Key Vault certificate object. If you skip this or upload the wrong file, it fails.

    After merging, you can download the PFX.

    If you’re importing an existing PFX:

    Use Import, provide the PFX file and password.

    The file must be PKCS#12 format (.pfx). If you upload a PEM, it fails with an invalid content-type error.

    Common failure reasons:

    Issuer not configured or wrong credentials.

    Domain validation incomplete.

    Incorrect CSR subject/SAN.

    Certificate policy not exportable.

    Unsupported key size or type.

    Next steps:

    -Check the exact error in Certificate operation.

    -Confirm which workflow you’re using.

    -Double-check issuer settings, domain validation, and exportable flag.

    -Retry the request or cancel and start fresh if needed.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.