mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-11-24 22:58:12 +08:00
9b3303faa0
self-signed certificate
30 lines
741 B
Plaintext
30 lines
741 B
Plaintext
[ req ]
|
|
default_bits = 2048
|
|
|
|
prompt = no
|
|
distinguished_name = req_distinguished_name
|
|
x509_extensions = v3_ca
|
|
v3_extensions = v3_ext
|
|
|
|
[ req_distinguished_name ]
|
|
countryName = CN
|
|
organizationName = NginxReverseProxy
|
|
commonName = Pixiv.net
|
|
|
|
[ v3_ext ]
|
|
keyUsage = keyCertSign,cRLSign
|
|
basicConstraints = critical,CA:true
|
|
subjectKeyIdentifier = hash
|
|
authorityKeyIdentifier = keyid,issuer
|
|
|
|
[ v3_ca ]
|
|
basicConstraints = critical,CA:TRUE
|
|
subjectKeyIdentifier = hash
|
|
authorityKeyIdentifier = keyid:always,issuer:always
|
|
|
|
[ v3_req ]
|
|
keyUsage = digitalSignature
|
|
extendedKeyUsage = "serverAuth,clientAuth"
|
|
basicConstraints = CA:TRUE
|
|
subjectAltName = @alternate_names
|
|
subjectKeyIdentifier = hash |