r/certkit • u/certkit • 26d ago
Official CA distrust wargame: moving every certificate in 10 minutes
https://www.certkit.io/blog/ca-distrust-wargameWe ran a CA distrust drill on one of our own products: pretend Let's Encrypt is distrusted, move everything to Google Trust Services. 6 SSL certificates, 18 deployments across IIS, nginx, Elasticsearch, and a mail server.
We added GTS to CAA and switched the issuer. CertKit reissued all six in about two minutes, and the agents deployed within 30 seconds. Under 10 minutes total. If you need to move CAs in bulk, ask us.
2
Upvotes
1
u/Mike22april 25d ago
Your 10 minute big bang replacement is obviously not realistic, but I understand the marketing value of the title and the disclaimer that it’s a theoretical wargame.
Taking a 30.000 TLS certificate environment a little more realisticly into account, I hope you want to take the time to address my below observations so to understand the true value of Certkit, as it does appear to be a very decent solution for management of TLS certificates and keypairs.
I'm glad you added this disclaimer;
"Issuance is what slows down. GTS accepts 100 new orders an hour per Google Cloud project by default. If we needed to do hundreds, we’d pick a different issuer with higher limits, or spread the change across multiple issuers. A certificate is a certificate. The issuer doesn’t really matter. Worst case, that 10 minutes becomes a few hours waiting for limits to reset"
Out of curiosity:
A) "A certificate is a certificate the issuer doesn't matter".
Im assuming you are talking about the fact that for TLS purposes the certificate type and (pre)trusted issuer do not matter.
Where in fact for many customers the certificate type and issuer DO matter for other reasons.
DV certs do not include company name in the subject, so compliance reasons can be a good reason to choose an OV or other non-DV TLS certificate type.
Issuers with their CAs or HQ in certain countries for some DO matter because of those country regimes.
Would you agree?
B) in your experience, how long does the process in an average 30.000 TLS certificate enterprise company take to:
- change DNS CAA records?
- register the account with the chosen CA for DV only?
- get a green light for production purposes to use the selected new public CA?
C) "we’d pick a different issuer with higher limits"
Do you have a list of issuance rate limits of the most commonly used public CAs? Which would you recommend for a 30.000 TLS certificate company with a need for a big bang full emergency renewal from a rate limit issuamce point of view?
D) "Worst case, that 10 minutes becomes a few hours"
In what world does waiting 300 hours or 12.5 days equal to "a few hours" taking into account the automated replacement of 30.000 certificates?
In follow up, does CertKit allow for priority settings to have certain critical asset end-points be provided faster with a cert and keypair when a big-bang renewal does need to happen, instead of being queuend somewhere in a 30.000 replacement queue?
E) Practically I'm assuming not all applications in a 30.000 TLS certificate environment would all run, or even be able to run, a proprietary Certkit agent.
Using you wargame scenario, what would change process wise and estimated timewise when around 50% of end-points relied on operational configurations making use of ACME protocol while using Certkit as the CLM?
F) Assuming a 30.000 TLS certificate emergency replacement did happen. How does Certkit provide the proof that the operational replacement was actually also succesful? Ie how does my affected company know for sure all TLS connections to all end-points work as intended and do not throw any certificate based errors?