| 1 |
[req] |
| 2 |
req_extensions = v3_req |
| 3 |
distinguished_name = req_distinguished_name |
| 4 |
prompt=no |
| 5 |
|
| 6 |
[req_distinguished_name] |
| 7 |
C = US |
| 8 |
ST = DE |
| 9 |
O = Python Software Foundation |
| 10 |
OU = python-requests |
| 11 |
CN = localhost |
| 12 |
|
| 13 |
[v3_req] |
| 14 |
# Extensions to add to a certificate request |
| 15 |
basicConstraints = critical, CA:FALSE |
| 16 |
keyUsage = critical, digitalSignature, keyEncipherment |
| 17 |
extendedKeyUsage = critical, serverAuth |
| 18 |
subjectAltName = critical, @alt_names |
| 19 |
|
| 20 |
[v3_ca] |
| 21 |
# Extensions to add to a certificate request |
| 22 |
basicConstraints = critical, CA:FALSE |
| 23 |
keyUsage = critical, digitalSignature, keyEncipherment |
| 24 |
extendedKeyUsage = critical, serverAuth |
| 25 |
subjectAltName = critical, @alt_names |
| 26 |
|
| 27 |
[alt_names] |
| 28 |
DNS.1 = *.localhost |
| 29 |
DNS.1 = localhost |
| 30 |
IP.1 = 127.0.0.1 |
| 31 |
IP.2 = ::1 |