All Products
Search
Document Center

Certificate Management Service:How to fix an incomplete SSL certificate chain

Last Updated:Mar 31, 2026

A certificate chain consists of a root certificate, one or more intermediate certificates, and a server certificate. When the chain is incomplete — typically because an intermediate certificate is missing — your browser may report a connection failure or other errors when you access the website.

This page shows how to check whether your certificate chain is complete and how to fix it.

Step 1: Check whether the certificate chain is complete

Run the following command on your server to inspect the certificate chain. You can run this command regardless of whether your website is currently deployed.

openssl s_client -connect <Server_IP>:443 -servername <Domain_Name>

Replace the placeholders with your actual values:

PlaceholderDescription
<Server_IP>IP address of your server
<Domain_Name>Domain name of your website

Interpreting the output: The following figure shows the expected output for a complete certificate chain. Section 1 is the domain certificate, and Section 2 is the intermediate certificate. If the output shows only Section 1 (the domain certificate), the chain is incomplete.

证书链

If the domain certificate and the intermediate certificate are stored in the same file, they must be concatenated in the correct order: the domain certificate first, followed by the intermediate certificate. No blank lines or carriage returns between them.

证书文件格式

Step 2: Download and redeploy the certificate

If the chain is incomplete, download the full certificate package and redeploy it.

  1. Log on to the Certificate Management Service console and download the certificate for your server type. For a list of supported server types and download instructions, see Installation overview.

  2. Deploy the certificate based on your environment:

See also