Guides · HTTPS and certificate
TLS certificate validity
One of the checks in every audibot report. This page says exactly what audibot reads, what passes, and how to fix it.
What audibot checks
Whether the certificate presented on the HTTPS connection to the home page validates against the public CA roots Node.js trusts, for this hostname.
- Pass
The certificate is valid; the report names the issuer.
- Fail
Browsers will refuse it; the report gives the reason, e.g.
UNABLE_TO_VERIFY_LEAF_SIGNATUREorERR_TLS_CERT_ALTNAME_INVALID.
Why it matters
An untrusted certificate puts a full-page warning in front of every visitor, and automated clients refuse to connect at all.
Why is my SSL certificate not trusted, and how do I fix it?
The usual causes: the server sends only its own certificate without the intermediate chain (UNABLE_TO_VERIFY_LEAF_SIGNATURE); the certificate does not list this hostname (ALTNAME_INVALID); it is self-signed; or it has expired. Install a certificate from a public CA that covers the exact hostname, with the full chain.
nginx: send the full chain, not just the leaf
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;Apache 2.4.8+
SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pemSee what the server sends
openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/nullRelated tools
- SSL certificate checker — Check certificate validity and expiry, HTTPS redirects and other TLS findings.
- Black Friday readiness checker — Review storefront speed, HTTPS, email authentication and link previews before the sales peak.
Other checks in HTTPS and certificate
HTTPS and certificate in the methodology ·All guides
This check is one step of the website launch checklist.
Check your site
audibot runs this check and every other one in a single audit, and publishes the report with a recommendation for each finding.