r/devops • u/FeistyMaintenance714 • Sep 10 '26
Ops / Incidents Cert was fine in Chrome. Everything else broke.
Changed a cert a few months back. Fine in Chrome. Fine in our test setup.Then a bunch of older phones and a partner app just stopped connecting. We only found out why after it was already live.
Last time a cert change bit you like that, what did you actually check before it went out?
9
Upvotes
2
u/hdjddjiieeshs Sep 11 '26
My most recent fun one was a cert on a domain with split horizon DNS.
Internally - resolves to 192.168.1.2 Externally - resolves to cloudflare.
Internal DNS is unbound.
Issue: In Chrome accessing https://mydomain.tld worked fine. In Firefox: https://mydomain.tld gave ERROR_BAD_CERT_DOMAIN
The cause: Encrypted Client Hello.
Firefox was:
Chrome wasn't trying ECH so was just resolving to 192.168.1.2 and sending an in the clear SNI for the correct domain to start with.
Easy fix, just told Unbound that the domain was local static not dynamic and it no longer forwarded the HTTPS query recursively, but a mindfuck to work out because at the time I wasn't aware that Firefox even supported ECH, and "ERROR_BAD_CERT_DOMAIN" in no way indicates what went wrong
32
u/Mr_Albal Sep 10 '26 edited Sep 10 '26
Run a test:
https://www.ssllabs.com/ssltest/
7
u/Common_Fudge9714 Sep 10 '26
Our certs expire every 90 days. And it might even drop down to 30 days. So it’s a non event.
I assumed you changed the algorithms or encryption to a newer one h supported by the older phones? If you want to support those customer you need to test your apps with those older clients.
4
u/CoaxVex Sep 11 '26
It’s usually the intermediate cert that is forgotten. Test with curl or openssl s_client.
2
u/44Nj Sep 10 '26
The other answers are good regarding ssllabs and testing. I have external tests for ssl setup on all my public facing urls (I use binarycanary.com).
One place cause I've seen is if you export the cert without the full chain and then use for SSL. On a Windows computer that already trusted the old cert, when you view the new cert it will be trusted and show the full chain. But on other devices the chain will be missing and the cert untrusted. As far as I know its completely invisible that the chain is missing in a computer that already had the root and intermidiates.
2
u/jippen Sep 11 '26
Do it on dev first, run through your standard test suite. If you were bitten by this, the root cause is inadequate change management
1
u/aragossa Sep 11 '26
chrome and most modern browsers will complete an incomplete chain on their own if it's missing an intermediate, either through AIA fetching or because it already had that intermediate cached from some other site. openssl s_client -connect host:443 -showcerts tells you if your server's actually serving the full chain or just the leaf. older phones and a lot of non-browser clients don't do that fallback, so if the intermediate wasn't in the bundle you shipped, that's usually the whole story. also worth checking which root the new intermediate chains up to against what's actually trusted on the old devices still in the field. that's what got a bunch of people when DST Root CA X3 expired in 2021, old android stuck without ISRG X1 in its trust store just stopped trusting anything issued after.
1
u/NokiaRX100 Sep 12 '26
Was the cert of Sectigo?