basicConstraints
A certificate extension that states whether the certificate belongs to a certificate authority that may sign other certificates.
In more detail
Setting its CA flag to true marks an authority's certificate; leaf certificates should set it to false or leave the extension out. An optional path length limit caps how many intermediate authorities may sit below it. Clients check this field so that an ordinary website certificate cannot be used to issue fake certificates for other names, and marking it critical tells clients to reject the certificate if they cannot process it.
Example
-addext "basicConstraints=critical,CA:TRUE"Related terms
- key usage — Certificate extensions that limit what the certified key may be used for, such as signing other certificates or authenticating a web server.
- root CA — The top certificate authority in a chain of trust, whose self-signed certificate is installed in advance in browsers and operating systems as a starting point for trust.
- intermediate CA — A certificate authority whose own certificate is signed by a root or another intermediate, and which does the day-to-day signing of server and user certificates.
- X.509 certificate — A signed document binding a public key to a name, issued by a certificate authority, used by TLS to prove identity.
Taught in
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography