Incomplete certificate chain on a SIP server
Public CAs do not sign server certificates with their root key. They sign with an intermediate certificate, and the root signs that intermediate. A client holds only the roots, so the server is expected to send its own certificate followed by the intermediate, giving the client every link it needs to reach a root it trusts.
When the intermediate is left out, the outcome depends on the client. Browsers often repair the gap by downloading the missing certificate from the address named inside the server certificate, which is why a web check can pass. Most SIP stacks, SBCs and carrier platforms do not fetch anything, so they report an unknown issuer and abandon the call setup even though the certificate itself is fine.
Error messages you may see
unable to get local issuer certificateunable to verify the first certificatecertificate verify failedx509: certificate signed by unknown authority
Common causes
- Only the server certificate was installed, and the intermediate file the CA sent with it was left out.
- The intermediate went into the server's trusted CA store, which is used to check peers, instead of being attached to its own certificate.
- The certificate and chain were joined in the wrong order, or with the root in place of the intermediate.
- The CA moved to a new intermediate at renewal, and the bundle on the server still holds the old one.
- A load balancer or TLS proxy in front of the SIP server holds its own copy of the certificate without the chain.
How to fix it
- Download the intermediate for your exact certificate from the CA, rather than reusing a bundle from an earlier one.
- Build a chain file with the server certificate first and each intermediate after it; the root can be left out.
- Point the SIP server's certificate setting at that chain file, or import the intermediate where the vendor says the chain is built, then reload TLS.
- Confirm the fix from outside: the server should now send two or more certificates, not one.
Platform notes
- Ribbon SBC Edge: Import the root CA certificate and every intermediate under Settings, Security, SBC Certificates, Trusted CA Certificates before the SBC certificate itself. Ribbon notes that the SBC certificate import fails while part of the chain is missing.
- Genesys Cloud BYOC: Genesys requires the remote endpoint to present its own certificate and all intermediate certificates during the handshake.
- Microsoft Teams Direct Routing: Microsoft lists a missing SBC or intermediate certificate in the TLS hello as a known cause of failed connections, and notes that sometimes only a packet capture shows it.
How the free check shows it
The Chain row fails with "The server doesn't send the intermediate certificate" when the certificate is from a public CA but the chain only completes from our own cache or the address in the certificate. Certificates sent, under Certificate details, shows how many came back. On a TLS Route the same finding appears on Route detail, and an incomplete chain alarm can tell you when it starts and when it is fixed.
Questions
Why does the certificate look fine in a browser?
Browsers fill in missing intermediates on their own, from a cache or by downloading them, so a web check can pass while SIP peers fail. Test with a tool that reports exactly what the server sends.
Should the root certificate be in the chain file?
It does no harm, but it is not needed. Clients must already trust the root, so sending it only adds bytes to every handshake.