Pixiv-Nginx/自签证书傻瓜式批处理包/config_rootCA.txt
c15412 9b3303faa0
Update the self-signed certificate config
self-signed certificate
2024-08-27 18:36:53 +08:00

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