For an App Service Certificate - the exported certficate DOES NOT contain the certificate chain and I cannot find it

Nate Clark 20 Reputation points
2026-11-25T15:54:01.1666667+00:00

The certificate appears to be issued by GoDaddy. I have downloaded ALL manner of certificate chains, intermediate, cross, root from GoDaddy

Nothing works. Chrome will not honor the certificate, though Edge Will, and I have cleared every manner of caches and history.

The exported certificate contains ONLY my generated certificate, it does NOT include any other on in the chain

Where is the appropriate root authority certificate chain ?

Note the export instructions in Azure indicate that the chain is exported with the certificate - it is NOT and there is no visible option to see that it is

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.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Vinodh247-1375 44,281 Reputation points Volunteer Moderator
    2026-11-26T00:31:35.1033333+00:00

    The root certificate is generally not expected to be included in the TLS response. The server should present the leaf certificate and the necessary intermediate certificate or certificates; Chrome should then build the chain to a trusted root in its trust store.

    Since the existing checks have already established that the exported PFX and the live TLS response are separate concerns, the next useful step is to capture Chrome’s exact certificate error. For example, NET::ERR_CERT_AUTHORITY_INVALID, NET::ERR_CERT_COMMON_NAME_INVALID, and NET::ERR_CERT_DATE_INVALID point to different problems. A browser difference alone does not prove that the intermediate certificate is missing.

    Also inspect the leaf certificate’s Issuer and Authority Key Identifier, rather than trying different GoDaddy bundles. App Service Certificates have transitioned to the GoDaddy TLS Root CA R1 hierarchy, and GoDaddy publishes separate R1 bundles for DV, OV and EV certificates. Using an older G2 bundle or the wrong R1 certificate will not produce a valid chain. [learn.microsoft.com], [certs.godaddy.com]

    You can extract the relevant identifiers from the certificate with:

    Shell

    openssl x509 -in server-cert.pem -noout
    -subject -issuer -dates -fingerprint -sha256
    -ext authorityKeyIdentifier

    Compare the issuer and key identifier with the appropriate certificate in the GoDaddy Certificate Repository. Do not add a root or intermediate merely because its filename contains “GoDaddy”. [certs.godaddy.com]

    If the live endpoint already presents the leaf and its matching intermediate, then the exported PFX is unlikely to be the cause of Chrome’s warning. Check the hostname in the certificate’s Subject Alternative Name, the validity dates, and whether a proxy, CDN, Application Gateway or Front Door instance is terminating TLS and serving a different certificate.

    Help make this community better for everyone: if this answer resolved your issue, please accept it or leave an upvote. If not, share more details in a comment so we can continue the discussion and find the right solution

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-25T15:55:36.3666667+00:00

    Export the App Service Certificate from its Key Vault secret, not from the Key Vault certificate object, and then verify the chain actually presented by the HTTPS endpoint before obtaining any more GoDaddy bundles.

    Export the PFX from the Key Vault secret

    A Key Vault certificate download returns only the public certificate, whereas the associated secret contains the retrievable PKCS#12/PFX material. App Service Certificates are stored under Secrets, and Microsoft’s documented PowerShell export reads that secret directly.^1^

    Run this in Azure PowerShell:

    $vaultName = '<vault-name>'
    $certificateName = '<certificate-name>'
    
    $pfxSecret = Get-AzKeyVaultSecret `
        -VaultName $vaultName `
        -Name $certificateName `
        -AsPlainText
    
    $certBytes = [Convert]::FromBase64String($pfxSecret)
    Set-Content -Path appservice-cert.pfx `
        -Value $certBytes -AsByteStream
    

    The Azure-produced PFX normally has an empty import password. The documented App Service portal equivalent is:

    1. App Service Certificates → select the certificate.
    2. Export Certificate → Open Key Vault Secret.
    3. Select the current secret version.
    4. Select Download as a certificate.^2^

    The export contains the complete chain stored in that secret; it cannot reconstruct an intermediate that was never stored there.

    Treat the PFX as a credential: do not share, log, commit, or attach it to a support request.

    Inspect the exported chain safely

    List certificates without exposing the private key:

    openssl pkcs12 \
      -in appservice-cert.pfx \
      -passin pass: \
      -info -nokeys
    

    Look for multiple certificate entries and compare each certificate’s Subject with the next certificate’s Issuer. If OpenSSL 3 cannot read an older PKCS#12 cipher, retry the inspection with -legacy.

    Do not use -nodes for diagnosis—it prints the unencrypted private key. Any output shared with support must exclude every PRIVATE KEY block and all secret values.

    Verify what Chrome actually receives

    The contents of the PFX and the chain served over TLS are separate checks. Run:

    openssl s_client \
      -connect example.com:443 \
      -servername example.com \
      -showcerts </dev/null
    

    The endpoint should normally present:

    1. The leaf/server certificate.
    2. The required intermediate certificate or certificates.

    The trusted root normally resides in the browser or operating-system trust store and generally is not sent by the server. Therefore, not seeing the root in this output is not itself an error.

    Azure App Service normally handles the served chain automatically for an imported App Service Certificate. A missing intermediate is documented as uncommon for Azure-issued App Service Certificates and more typical of manually uploaded certificates.^3^

    If the live endpoint serves only the leaf

    Check the certificate and binding actually used by the hostname:

    1. Azure portal → App Service → Settings → Certificates.
    2. Confirm that the purchased App Service Certificate was imported, rather than a separately created leaf-only PFX.
    3. Open the app’s TLS/SSL binding configuration and confirm the exact custom hostname is bound to that certificate.
    4. Avoid conflicting IP-based and SNI bindings; these can cause App Service to present a different certificate.^4^

    If this is actually a manually uploaded certificate, rebuild the PFX in this order:

    • Leaf certificate
    • Intermediate CA certificate(s)
    • Root certificate

    Then export it with the matching private key and a password. App Service requires manually uploaded private certificates to contain the chain.^5^

    Do not select certificates merely by the “GoDaddy” name. Use the leaf certificate’s Issuer and Authority Key Identifier to identify its exact issuing intermediate.

    Finally, record Chrome’s exact error code. For example, a missing issuer, hostname mismatch, and expired certificate require different corrections. If escalation is needed, provide the leaf certificate’s Subject/Issuer and sanitized s_client -showcerts output—never the PFX or private key.


    References

    1. Export certificates from Azure Key Vault
    2. Buy and manage App Service certificates
    3. Troubleshoot Azure App Service certificates
    4. Troubleshoot domain and TLS/SSL certificate problems in Azure App Service
    5. Add and manage TLS/SSL certificates in Azure App Service
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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