24 lines
470 B
INI
24 lines
470 B
INI
[req]
|
|
distinguished_name = server_distinguished_name
|
|
prompt = no
|
|
|
|
# these fields are used to force x509 to v3 certificates
|
|
# rustls will complain otherwise
|
|
x509_extensions = v3_req
|
|
req_extensions = req_ext
|
|
|
|
[server_distinguished_name]
|
|
countryName = US
|
|
stateOrProvinceName = Washington
|
|
localityName = Seattle
|
|
organizationName = server
|
|
commonName = server.localhost
|
|
|
|
[v3_req]
|
|
subjectAltName = @alt_names
|
|
|
|
[req_ext]
|
|
subjectAltName = @alt_names
|
|
|
|
[alt_names]
|
|
DNS = localhost
|