3 ms·
They only sign leaf certs
by baby 11y ago
They only sign leaf certs
- marcosdumay 11y agoNo, they don't. That's one of the several elephants on the room with the CA system. They issue non-leaf certs with a big frequency for people like the GP, with a honest reason to want them.
- baby 11y agox509.CreateCertificate is used to creat the certificate (https://golang.org/pkg/crypto/x509/#CreateCertificate https://golang.org/pkg/crypto/x509/#CreateCertificate) and is called by the CFSSL library, that has isCA = false as default (https://github.com/cloudflare/cfssl/blob/152152bec641f50265125264145bf501d0c40a47/cli/config.go#L70 https://github.com/cloudflare/cfssl/blob/152152bec641f502651...) Also it is verified that the CSR doesn't contain that field in Boulder: https://github.com/letsencrypt/boulder/blob/aa71088c440a63e17b725167b9ee910b36baad19/core/objects.go#L433 https://github.com/letsencrypt/boulder/blob/aa71088c440a63e1... This test is called when you send the CA a CSR: https://github.com/letsencrypt/boulder/blob/08ac100788c7edaf000b0389b06e629ffbe29678/ra/registration-authority.go#L320 https://github.com/letsencrypt/boulder/blob/08ac100788c7edaf... I don't know for other CAs, but from that quick look of the code boulder doesn't seem to sign certificates that can sign other certificates.