Skip to content

Instantly share code, notes, and snippets.

@ykcab
Created April 29, 2019 18:24
Show Gist options
  • Save ykcab/dccbc34c51c24f684acdb79d46314807 to your computer and use it in GitHub Desktop.
Save ykcab/dccbc34c51c24f684acdb79d46314807 to your computer and use it in GitHub Desktop.
openssl san csr request
[ req ]
default_bits = 4096
prompt = no
encrypt_key = yes
default_md = sha256
distinguished_name = dn
req_extensions = req_ext
[ dn ]
CN = <fqdn>
O = org
OU = org_unit
L = local_city
ST = the_state
C = US
[ req_ext ]
subjectAltName = @alt_names
[alt_names]
DNS.1=<fqdn>
DNS.2=<fqdn>
DNS.3=<fqdn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment