[ req ]
default_bits = 2048
default_keyfile = privkey.pem
distinguished_name = req_distinguished_name
string_mask = utf8only
req_extensions = v3_req # The extensions to add to a certificate request
prompt=no
[ req_distinguished_name ]
countryName = DE
stateOrProvinceName = state/province
localityName = city
organizationName = org
organizationalUnitName = OU
commonName = CN (sld.tld)
emailAddress = w
[ v3_req ]
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
subjectAltName = @alt_names
[alt_names]
DNS.1 = sld.tld
DNS.2 = host.sld.tld