tests/certs/mtls/client/ca/ca.cnf
raw| 1 | [req] |
| 2 | default_bits = 2048 |
| 3 | prompt = no |
| 4 | default_md = sha256 |
| 5 | encrypt_key = no |
| 6 | distinguished_name = dn |
| 7 | x509_extensions = v3_ca |
| 8 | |
| 9 | [dn] |
| 10 | C = US # country code |
| 11 | O = Python Software Foundation # organization |
| 12 | OU = python-requests # organization unit/department |
| 13 | CN = Self-Signed Root CA # common name / your cert name |
| 14 | |
| 15 | [v3_ca] |
| 16 | basicConstraints = critical, CA:true |
| 17 | keyUsage = critical, cRLSign, digitalSignature, keyCertSign |