Skip to content

Instantly share code, notes, and snippets.

@hospitableit
Created July 16, 2017 06:41
Show Gist options
  • Save hospitableit/3359ca76917b96c3063d474f4f6d6041 to your computer and use it in GitHub Desktop.
Save hospitableit/3359ca76917b96c3063d474f4f6d6041 to your computer and use it in GitHub Desktop.
[req]
distinguished_name = req_distinguished_name
req_extensions = v3_req
prompt = no
[req_distinguished_name]
C = AU
ST = TAS
L = My Town Name
O = Some Company Name
OU = Information Technology
CN = MyHostName.MyDomainName.com
[v3_req]
keyUsage = keyEncipherment, dataEncipherment
extendedKeyUsage = serverAuth
subjectAltName = @alt_names
[alt_names]
DNS.1 = MyHostName.MyDomainName.com
DNS.2 = MyHostName
DNS.3 = MyHostNameAlias.MyDomainName.com
DNS.4 = MyHostNameAlias
IP.1 = 192.168.100.10
IP.2 = 192.168.100.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment