`x509: certificate is valid for acme.com, *.acme.com, not api.eu.acme.com`
BeginnerTroubleshootingCertificates, TLS and security incident response
Answer
Likely causes → A wildcard covers exactly one label. *.acme.com matches api.acme.com, not api.eu.acme.com.
Diagnose → openssl x509 -in tls.crt -noout -ext subjectAltName
Fix → Issue a certificate with *.eu.acme.com or the explicit name api.eu.acme.com in the SANs:
spec:
dnsNames: ["api.eu.acme.com", "*.eu.acme.com"]
Prevent → Plan the hostname hierarchy together with the certificate strategy, and test new hostnames in staging with real certificates.
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`BeginnerBrowsers load `https://api.acme.com` fine, but `curl` and Java clients fail with `unable to get local issuer certificate`Intermediate