Browsers load `https://api.acme.com` fine, but `curl` and Java clients fail with `unable to get local issuer certificate`
IntermediateTroubleshootingCertificates, TLS and security incident response
Answer
Likely causes → The server sends only the leaf certificate, not the intermediate. Browsers often fill the gap from cache or AIA fetching. Most other clients do not.
Diagnose →
openssl s_client -connect api.acme.com:443 -servername api.acme.com -showcerts </dev/null | grep -c 'BEGIN CERTIFICATE'
# 1 = leaf only
Fix → Serve the full chain: leaf first, then intermediates (fullchain.pem, or tls.crt containing both). In Kubernetes, check that the TLS Secret's tls.crt has the full chain.
Prevent → Add a chain-completeness check to the synthetic monitor (openssl verify -untrusted chain.pem leaf.pem).
More on Certificates, TLS and security incident response
A cert-manager Certificate stays `Ready=False` and the Challenge shows `Waiting for HTTP-01 challenge propagation: wrong status code '404', expected '200'`IntermediateA DNS-01 challenge hangs forever with `DNS record for "acme.com" not yet propagated`, although `dig` from your laptop shows the TXT recordAdvancedIssuance fails with `429 urn:ietf:params:acme:error:rateLimited: too many certificates already issued`BeginnerA service calling another internal service fails with `x509: certificate signed by unknown authority`BeginnerAt 05:30 every client starts failing with `x509: certificate has expired or is not yet valid`Beginner`x509: certificate is valid for acme.com, *.acme.com, not api.eu.acme.com`Beginner