[ req ] prime_bits = 2048 prime_keyfile = privkey.pem distinguished_name = req_distinguished_name req_extensions = req_ext # The extentions to add to the cert [ req_distinguished_name ] countryName = Country Name (2 letter code) countryName_prime = US stateOrProvinceName = State or Province Name (full name) stateOrProvinceName_prime = state localityName = Locality Name (eg, city) localityName_prime = city organizationName = Organization Name (eg, company) organizationName_prime = city commonName = Common Name (eg, YOUR name) commonName_prime = prime.mylocal.com commonName_max = 64 [ req_ext ] subjectAltName = @alt_names [alt_names] DNS.1 = prime.mylocal.com DNS.2 = prime