18 lines
341 B
INI
18 lines
341 B
INI
# minimum server certificate config.
|
|
|
|
[req]
|
|
distinguished_name = req_distinguished_name
|
|
x509_extensions = v3_req
|
|
prompt = no
|
|
|
|
[req_distinguished_name]
|
|
CN = My Server Cert
|
|
|
|
[v3_req]
|
|
subjectAltName = @alt_names
|
|
keyUsage = critical, digitalSignature, keyEncipherment
|
|
extendedKeyUsage = serverAuth
|
|
|
|
[alt_names]
|
|
DNS.1 = example.com
|
|
IP.1 = 1.1.1.1 |