# Server

[ req ]
default_md              = sha256
utf8                    = yes
string_mask             = utf8only
prompt                  = no
distinguished_name      = req_dn
req_extensions          = req_ext
x509_extensions         = v3_req_ext

[ req_dn ]
0.domainComponent       = "COM"
1.domainComponent       = "EXAMPLE"
commonName              = "server.example.com"

[ req_ext ]
basicConstraints        = CA:false
extendedKeyUsage        = serverAuth

[ v3_req_ext ]
basicConstraints        = CA:false
extendedKeyUsage        = serverAuth
subjectAltName          = @alt_names

[ alt_names ]
IP.0                    = 192.168.1.22
DNS.0                   = "server.example.com"
