[req] distinguished_name = req_distinguished_name x509_extensions = v3_req prompt = no [ req_distinguished_name ] commonName = localhost [v3_req] subjectKeyIdentifier = hash authorityKeyIdentifier = keyid,issuer basicConstraints = CA:TRUE subjectAltName = @alt_names [alt_names] DNS.1 = localhost IP.1 = 127.0.0.1