Skip to content

Instantly share code, notes, and snippets.

@jespernohr
Last active November 6, 2015 18:35
Show Gist options
  • Save jespernohr/24b6e71594616b393ec9 to your computer and use it in GitHub Desktop.
Save jespernohr/24b6e71594616b393ec9 to your computer and use it in GitHub Desktop.
[req]
distinguished_name = req_distinguished_name
req_extensions = v3_req
[req_distinguished_name]
countryName = Country Name (2 letter code)
countryName_min = 2
countryName_max = 2
stateOrProvinceName = State or Province Name (full name)
localityName = Locality Name (eg, city)
organizationalUnitName = Organizational Unit Name (eg, section)
commonName = Common Name (eg, host name)
commonName_max = 64
emailAddress = Email Address
emailAddress_max = 40
[ v3_req ]
# Extensions to add to a certificate request
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
subjectAltName = @alt_names
[alt_names]
DNS.1 = foo.com
DNS.2 = bar.com
IP.1 = 192.168.1.10
IP.2 = 192.168.1.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment