Find why your server rejects the client certificate
ERR_
Why the server rejects the browser
Client certificates required by mistake
A server, load balancer or CDN set to require client certificates, often called mutual TLS, can end the handshake for every visitor who doesn't have one, and Chrome's page then says the site didn't accept the visitor's login certificate. Some servers finish the handshake instead and answer with an HTTP 400 page, so visitors see that page rather than this error.
No certificate was sent
A TLS 1.3 server that requires a certificate answers an empty one with a certificate_
required alert. Older setups send a generic handshake failure instead, and Chrome reports that as this error too when it was asked for a certificate and sent none. The certificate failed the server's checks
Alerts such as certificate_
expired, certificate_ revoked, unknown_ ca and bad_ certificate mean the server checked the certificate the visitor picked and refused it. Chrome shows all of them as this error. Access rules refused a valid certificate
An access_
denied alert means the certificate checked out, but the server's access rules decided not to let it in.
Chromium's openssl_
Test the client certificate check
# These tests need OpenSSL 1.1.1 or later: the openssl that ships with macOS is
# LibreSSL, which rejects -verify_quiet and prints less about certificate requests
# Does the server ask for a client certificate, and from which authorities?
echo | openssl s_client -connect yoursite.com:443 -servername yoursite.com 2>/dev/null \
| grep -E -A3 "client certificate CA names" | cut -c1-80
# Send a request with no client certificate and see how the server answers
printf 'GET / HTTP/1.1\r\nHost: yoursite.com\r\nConnection: close\r\n\r\n' \
| openssl s_client -connect yoursite.com:443 -servername yoursite.com -quiet -verify_quiet 2>&1 | head -n 3
# Send the same request with a client certificate and its key
printf 'GET / HTTP/1.1\r\nHost: yoursite.com\r\nConnection: close\r\n\r\n' \
| openssl s_client -connect yoursite.com:443 -servername yoursite.com -quiet -verify_quiet \
-cert client.pem -key client.key 2>&1 | head -n 3
Read what openssl prints
Acceptable client certificate CA names, followed by authority names, means the server asks for a certificate and lists the issuers it accepts.No client certificate CA names sentmeans it named none: if aClient Certificate TypesorRequested Signature Algorithmsline comes next, the server still asks for a certificate, and if the output moves on to lines such asPeer signing digest, it doesn't ask at all.In the request tests, an
HTTP/1.1status line means the handshake went through, though a 400 there can still mean the server refused the certificate afterward. An error line ending inSSL alert number 116is certificate_required, 40is the generic handshake_failure a TLS 1.2 server sends when no certificate arrives, 48is unknown_ca, 45is certificate_expired, 44is certificate_revoked and 49is access_denied, each numbered in RFC 8446. OpenSSL's s_ client manual covers-cert,-keyand-quiet.
How to fix a rejected client certificate
- Decide whether the site should askPublic pages shouldn't require client certificates. If the requirement is a mistake, turn it off, or make it optional, on the server, load balancer or CDN that handles HTTPS.
- Keep certificate checks on their own hostnamePut pages that need client certificates, such as an admin area or a partner API, on a separate hostname so the public site never asks visitors for one.
- Trust the right authoritySet the server's trusted client authorities to the one that issues your users' certificates, including any intermediate certificates the server needs to build the chain.
- Reissue expired or revoked certificatesA user whose certificate expired or was revoked needs a new one installed on their device before the server will accept them.
Frequently asked questions
Is my site's SSL certificate the problem?
No. This error concerns the certificate the visitor's browser sends to prove who they are, not the certificate your server sends. Problems with your own certificate have their own codes, such as NET::ERR_
Can a firewall cause this error?
It can, if it sends a certificate alert. Chromium's ssl_
Check the rest of your TLS setup
- Domain healthFix the setup mistakes that make browsers warn people away from your site.
- SSL protocol errorFind what breaks the TLS handshake on port 443, from plain HTTP to an alert, then fix that layer.
- Revoked SSL certificateConfirm the certificate was revoked and why, then issue a new one and serve it from every layer.
- Connection not private warningRead the code under Chrome's certificate warning, then fix the date, name or trust problem it names.