mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 18:31:22 +00:00
00942c1431
This initiates a connection to the server to obtain certificate information to generate interception certificates. At the moment, the information used is the Common Name, and the list of Subject Alternative Names.
33 lines
710 B
INI
33 lines
710 B
INI
[ req ]
|
|
prompt = no
|
|
distinguished_name = req_distinguished_name
|
|
x509_extensions = v3_cert
|
|
req_extensions = v3_cert_req
|
|
|
|
[ req_distinguished_name ]
|
|
organizationName = mitmproxy
|
|
commonName = %(commonname)s
|
|
|
|
[ v3_ca ]
|
|
basicConstraints = critical,CA:true
|
|
keyUsage = cRLSign, keyCertSign
|
|
nsCertType = sslCA
|
|
|
|
[ v3_ca_req ]
|
|
basicConstraints = critical,CA:true
|
|
keyUsage = cRLSign, keyCertSign
|
|
nsCertType = sslCA
|
|
|
|
[ v3_cert ]
|
|
basicConstraints = CA:false
|
|
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|
|
nsCertType = server
|
|
|
|
[ v3_cert_req ]
|
|
basicConstraints = CA:false
|
|
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|
|
nsCertType = server
|
|
|
|
[ alt_names ]
|
|
%(sans)s
|