openssl.test.cnf 329 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
[ req ]
default_bits = 2048
default_keyfile = server-private-key.pem
distinguished_name = req_distinguished_name
x509_extensions = v3_ca
prompt = no

[ req_distinguished_name ]
CN = localhost

[ v3_ca ]
# Add ::1 to the list of allowed IPs so we can use ::1 to explicitly connect
# to localhost via IPv6.
subjectAltName = IP:::1