mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 10:26:23 +00:00
40 lines
1006 B
INI
40 lines
1006 B
INI
[ req ]
|
|
default_bits = 1024
|
|
default_keyfile = privkey.pem
|
|
distinguished_name = req_distinguished_name
|
|
x509_extensions = v3_ca
|
|
|
|
[ req_distinguished_name ]
|
|
countryName = Country Name (2 letter code)
|
|
countryName_default = NZ
|
|
countryName_min = 2
|
|
countryName_max = 2
|
|
stateOrProvinceName = State or Province Name (full name)
|
|
stateOrProvinceName_default = Otago
|
|
localityName = Locality Name (eg, city)
|
|
0.organizationName = Organization Name (eg, company)
|
|
0.organizationName_default = Pathod
|
|
commonName = Common Name (e.g. server FQDN or YOUR name)
|
|
commonName_default = test.com
|
|
commonName_max = 64
|
|
|
|
[ v3_req ]
|
|
|
|
basicConstraints = CA:FALSE
|
|
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|
|
|
|
[ v3_ca ]
|
|
|
|
keyUsage = digitalSignature, keyEncipherment
|
|
subjectKeyIdentifier=hash
|
|
authorityKeyIdentifier=keyid:always,issuer:always
|
|
basicConstraints = CA:true
|
|
subjectAltName = @alternate_names
|
|
|
|
|
|
[ alternate_names ]
|
|
|
|
DNS.1 = test.com
|
|
DNS.2 = test2.com
|
|
DNS.3 = test3.com
|