At least one certificate is not valid (Certificate failed validation because it could not be loaded).

Braun, Andrew T 0 Reputation points
2023-05-16T17:42:11.05+00:00

Every time I attempt to add my ZeroSSL Certificate onto my Azure Webservice it completely fails.

"At least one certificate is not valid (Certificate failed validation because it could not be loaded)."

Note that clicking "Validate" is successful, but clicking "Add" fails.

To create my SSL PFX file using OpenSSL, I'm doing the following steps:

Combine the certificate and CA bundle into a single file. Open the certificate.crt and ca_bundle.crt files in a text editor and copy the contents of ca_bundle.crt at the end of certificate.crt

Save the combined crt as certificate-chain.crt

Run the following command in Ubuntu 22.04 LTS (Ubuntu in Windows 10 VM feature):

openssl pkcs12 -export -out certificate.pfx -inkey private.key -in certificate-chain.crt

This generates a certificate.pfx file I attempt to use, and it fails.

What am I doing wrong?

pic_related

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,963 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 19,301 Reputation points Moderator
    2023-06-26T17:11:11.6466667+00:00

    Hi @Braun, Andrew T ,

    Apologies for the delay in response. If you're still facing this issue, please send us an email so we can investigate this issue further. Send an email to AzCommunity[at]Microsoft[dot]com with the below details, so that we can enable a one-time-free support for you to work closely on this issue.

    Email subject: <Attn - Grace >

    Thread URL: <Microsoft Q&A Thread>

    Subscription ID: <your Azure subscription id>

    Please let me know here once the email is sent along with above requested details.

    Thanks,

    Grace

    0 comments No comments

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.