[ req ]
prompt = no
req_extensions = v3_ext
distinguished_name = req_distinguished_name

[ req_distinguished_name ]
countryName            = US
stateOrProvinceName    = NYK
localityName           = NYK
organizationName       = Ryan4Yin
organizationalUnitName = Ryan4Yin
commonName             = writefor.fun # deprecated, use subjectAltName(SAN) instead
emailAddress           = rayn4yin@linux.com

[ alt_names ]
DNS.1 = writefor.fun
DNS.2 = *.writefor.fun

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