SSL / TLS errors

SSL/TLS certificate errors — Let’s Encrypt, name mismatches, chains, PEM files and protocol problems.

CodeErrorWhat it means
error 62 openssl verify error:num=62:Hostname mismatch / Verify return code: 62 The certificate is valid but not for the hostname you connected to or asked OpenSSL to check.
wrong tag OpenSSL: asn1 encoding routines: wrong tag / not enough data — certificate or key is DER or PFX, not PEM OpenSSL tried to read a file in the wrong format (PEM vs DER vs PKCS#12).
CRL Revocation check failed: CRL/OCSP server unreachable (CRYPT_E_REVOCATION_OFFLINE) The client can't reach the CA's CRL or OCSP endpoint, so it can't confirm the certificate isn't revoked.
weak ciphers Security scan: weak ciphers enabled (3DES / RC4 / EXPORT / NULL — SWEET32, CVE-2016-2183) The server still offers legacy cipher suites with known attacks.
SAN Self-signed/CSR certificate rejected: no Subject Alternative Name (openssl req needs -addext) A certificate made with a plain `openssl req` has only a CN, and modern clients ignore the CN.
forward secrecy SSL Labs grade B/C: no forward secrecy / weak key exchange (RSA key exchange only) The server's cipher order lets clients use non-ephemeral key exchange, which caps the SSL Labs grade.
SCSV tlsv1 alert inappropriate fallback (TLS_FALLBACK_SCSV downgrade protection) A client retried with a lower protocol version, and the server detected a downgrade attempt.
insufficient security tlsv1 alert insufficient security — server rejects the offered protocol/cipher/key strength The server requires stronger parameters (TLS version, cipher, DH/key size) than the client offered.
internal error tlsv1 alert internal error — the TLS peer hit an internal problem during the handshake The server sent alert 80, usually because its TLS configuration is broken or it can't pick a certificate.
ALPN tlsv1 alert no application protocol — ALPN negotiation failed (h2/http/1.1) The client asked for an application protocol (ALPN) the server doesn't support, so the handshake is rejected.
wildcard Certbot: wildcard certificates require DNS-01 validation (--manual / DNS plugin) You asked for `*.example.com` using HTTP-01 (webroot/standalone/nginx), which Let's Encrypt doesn't allow.
intermediate expired Certificate chain error: an expired intermediate/cross-signed certificate is still served (leaf is valid) The leaf certificate is fine, but one certificate in the served chain has expired, so some clients reject the…
SAN limit Certificate request failed: too many domain names in one certificate (SAN limit exceeded) The CA refuses a certificate with more names than it allows (Let's Encrypt allows 100 per certificate).
version interference ERR_SSL_VERSION_INTERFERENCE — something on the network is interfering with TLS version negotiation Chrome detected that a proxy, antivirus or firewall tampered with the TLS handshake versions.
HSTS HSTS includeSubDomains/preload breaks subdomains that only support HTTP After adding `includeSubDomains` (or preload), subdomains without valid HTTPS become unreachable in browsers.
hostname Java: SSLPeerUnverifiedException — Certificate for <host> doesn't match any of the subject alternative names The TLS handshake worked, but Java's hostname verification found the certificate isn't valid for the requeste…
name constraints NET::ERR_CERT_NAME_CONSTRAINT_VIOLATION — CA name constraints exclude this hostname The issuing CA is restricted by name constraints, and the certificate's name falls outside them.
NET::ERR_CERT_WEAK_SIGNATURE_ALGORITHM NET::ERR_CERT_WEAK_SIGNATURE_ALGORITHM — certificate signed with SHA-1 or MD5 The browser rejects a certificate (or a chain certificate) signed with a weak hash like SHA-1.
CT NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED — certificate not logged in Certificate Transparency Chrome requires publicly trusted certificates to have valid SCTs from CT logs, and this one doesn't.
legacy provider OpenSSL 3: Error outputting keys and certificates ... unsupported (PKCS#12 uses legacy RC2/3DES) OpenSSL 3 can't open a .p12/.pfx made with old algorithms (RC2-40, 3DES) unless you load the legacy provider.
error 24 openssl verify error:num=24:invalid CA certificate A certificate used as an issuer in the chain isn't marked as a CA.
bad decrypt openssl: bad decrypt / Could not read private key — wrong passphrase or cipher The encrypted private key or file couldn't be decrypted with the supplied password.
openssl.cnf OpenSSL: Can't open openssl.cnf for reading / error loading config file OpenSSL can't find or parse its configuration file, so `req`, `ca` or `x509` commands abort.
PFX import PFX/P12 import fails: The specified network password is not correct (Windows) Windows can't import the .pfx, either because the password is wrong or the file uses an unsupported/damaged f…
macOS Python on macOS: SSL: CERTIFICATE_VERIFY_FAILED unable to get local issuer certificate (run Install Certificates.command) The python.org installer doesn't use the system keychain, so HTTPS requests fail until you install its CA bun…
bad record mac SSL error: bad record mac (decryption failed or corrupted TLS record) A TLS record failed its integrity check, so the connection is dropped.
no shared cipher SSL routines: no shared cipher (client and server have no common cipher suite) The handshake fails because no cipher suite is supported by both sides.
unsupported protocol SSL routines: unsupported protocol (TLS 1.0/1.1 disabled by the server or OpenSSL security level) Client and server have no common TLS version, usually because a legacy version is disabled on one side.
bad certificate sslv3 alert bad certificate — server rejected the client certificate (mutual TLS) The server uses client authentication and didn't accept the certificate the client presented (or got none).
TLS 1.3 TLS 1.3 handshake fails behind a firewall/proxy (middlebox doesn't understand TLS 1.3) Connections succeed with TLS 1.2 but fail or reset when TLS 1.3 is negotiated.
private key Windows: private key access denied — application pool/service account can't read the certificate's key The certificate is in the store, but the app's identity has no permission on its private key, so TLS fails.
SNI Wrong certificate served: client sent no SNI (IP access or old client) so the server returns its default certificate Visiting by IP address or with a client that doesn't send SNI gets the first/default virtual host's certifica…
issuer cert-manager: Issuer or ClusterIssuer not ready — ACME account registration failed / referenced issuer not found Certificates can't be issued because the Issuer/ClusterIssuer isn't in Ready state.
chain order Certificate chain in the wrong order: PEM bundle must start with the leaf, then intermediates Servers or clients choke because the certificates in the file are in the wrong order or the root was included…
error 9 openssl verify error:num=9:certificate is not yet valid The certificate's notBefore date is in the future from the verifier's point of view.
POODLE POODLE (CVE-2014-3566): SSLv3 is enabled on the server A scanner flags SSLv3 as supported, which enables the POODLE downgrade attack.