Last active
May 27, 2020 11:03
-
-
Save eddiez9/d91c3850fafc52748234a261023c352f to your computer and use it in GitHub Desktop.
OpenSSL commands + SAN configuration
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
openssl req -out sslcert.csr -newkey rsa:2048 -nodes -keyout private.key -config san.cnf | |
[ req ] | |
default_bits = 2048 | |
distinguished_name = req_distinguished_name | |
req_extensions = req_ext | |
[ req_distinguished_name ] | |
countryName = Country Name (2 letter code) | |
stateOrProvinceName = State or Province Name (full name) | |
localityName = Locality Name (eg, city) | |
organizationName = Organization Name (eg, company) | |
commonName = Common Name (e.g. server FQDN or YOUR name) | |
[ req_ext ] | |
subjectAltName = @alt_names | |
[alt_names] | |
DNS.1 = bestflare.com | |
DNS.2 = usefulread.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment