Skip to content

Instantly share code, notes, and snippets.

@lennartkoopmann
Created July 26, 2020 04:23
Show Gist options
  • Save lennartkoopmann/53dbc2a8712be507471d20d1fb257ea9 to your computer and use it in GitHub Desktop.
Save lennartkoopmann/53dbc2a8712be507471d20d1fb257ea9 to your computer and use it in GitHub Desktop.
[req]
distinguished_name = req_distinguished_name
x509_extensions = v3_req
prompt = no
# Details about the issuer of the certificate
[req_distinguished_name]
C = US
ST = Some-State
L = Some-City
O = My Company
OU = My Division
CN = nzyme.example.com
[v3_req]
keyUsage = keyEncipherment, dataEncipherment
extendedKeyUsage = serverAuth
subjectAltName = @alt_names
# IP addresses and DNS names the certificate should include
# Use IP.### for IP addresses and DNS.### for DNS names,
# with "###" being a consecutive number.
[alt_names]
IP.1 = 203.0.113.42
DNS.1 = nzyme.example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment