Created
June 6, 2019 03:25
-
-
Save bq1990/0235ef2a0bac5bfcd6baaf4611554b5c to your computer and use it in GitHub Desktop.
Generate SAN csr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ req ] | |
default_bits = 4096 | |
prompt = no | |
encrypt_key = no | |
default_md = sha256 | |
distinguished_name = dn | |
req_extensions = req_ext | |
[ dn ] | |
CN = example.com | |
emailAddress = [email protected] | |
O = Example Company | |
OU = Example Unit | |
L = City | |
ST = State | |
C = US | |
[ req_ext ] | |
subjectAltName = DNS: www.example.com, DNS: mail.example.com, DNS: files.example.com | |
openssl req -new -config example.com.conf -keyout example.com.key -out example.com.csr | |
openssl req -text -noout -verify -in example.com.csr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment