(Maybe the performance degradation of generating a certificate on the fly is less than using a certificate that includes 100s of SANs.)
Running one’s own root Certificate Authority in 2023
81–90 of 164 posts
Re: Running one’s own root Certificate Authority in 2023
#82HashiCorp Vault supports being an ACME server. Why not use that?
1. ACME is a dumpster fire prone to mitm attacks.
2. without HSM (an additional investment) it's super bad idea to host your root CA signing key somewhere.
Re: Running one’s own root Certificate Authority in 2023
#83"Only" missing how to safely distribute, trust and revoke/renew the root cert - and how to enforce/distribute revocation lists for certs...
But based on the comments here, I guess you could use the smallstep CA with Nitrokey HSM if that's your jam...
Re: Running one’s own root Certificate Authority in 2023
#84Re: Running one’s own root Certificate Authority in 2023
#85Trivia question: What is the limit, if any, for how many DNS names (SANs) one can include in a single self-signed certificate. It is common to see TLS proxies that will generate certificates on the fly as SNI in clientHell is received. Is this due to a limit on how many SANs one can include in a single certificate. (Maybe the performance degradation of generating a certificate on the fly is less than using a certific…
Re: Running one’s own root Certificate Authority in 2023
#86Or do I need to know all the gory details myself?
Re: Running one’s own root Certificate Authority in 2023
#87Is there an Open Source program I could just run on the command-line, to have my own Certificate Authority? Or just to create a certificate? Or do I need to know all the gory details myself?
Re: Running one’s own root Certificate Authority in 2023
#88I really like step[1] and step-ca[2] for this, it's a lot less fiddly than having to drive OpenSSL directly. 1. https://github.com/smallstep/cli 2. https://github.com/smallstep/certificates
Then stick it in step-ca and issue all your certificates with internal ACME.
This would solve a lot of problems, such as leaking private hostnames in the certificate transparency log, or hitting issuance rate limits on LE servers.
Re: Running one’s own root Certificate Authority in 2023
#89What I haven't figured out yet is how the browser-GUI could talk to its local backend-server over https. Can an exe contain its own root-certificate-authority somehow in a way that the app-exe can work without having to update that certificate part ever?
Re: Running one’s own root Certificate Authority in 2023
#90Trivia question: What is the limit, if any, for how many DNS names (SANs) one can include in a single self-signed certificate. It is common to see TLS proxies that will generate certificates on the fly as SNI in clientHell is received. Is this due to a limit on how many SANs one can include in a single certificate. (Maybe the performance degradation of generating a certificate on the fly is less than using a certific…
1,000 works in Firefox and Chromium, but 10,000 gives `SSL_ERROR_RX_MALFORMED_HANDSHAKE` in Firefox, and `ERR_SSL_PROTOCOL_ERROR` in Chromium. OpenSSL won't connect to it either - it gives `read_state_machine:excessive message size:ssl/statem/statem.c:610`
So in practical terms, the answer seems to be somewhere between the 1,000 and 10,000.