Created
July 5, 2021 12:10
-
-
Save LoveDuckie/08791086a34f3442a31dcf2a58360c5c to your computer and use it in GitHub Desktop.
Default configuration to use when creating self-signed SAN SSL certificates for HTTPS. https://lucshelton.com/blog/configuring-a-default-server-for-nginx/
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 | |
distinguished_name = req_distinguished_name | |
req_extensions = v3_req | |
prompt = no | |
[req_distinguished_name] | |
name = Your Name Goes Here | |
countryName= Your Country Name Goes Here | |
stateOrProvinceName = Your State or Province Name Goes Here | |
emailAddress = Your Email Address Goes Here | |
localityName = London | |
organizationalUnitName = Your Name Goes Here | |
commonName = localhost | |
[v3_req] | |
basicConstraints = CA:FALSE | |
keyUsage = nonRepudiation, digitalSignature, keyEncipherment | |
subjectAltName = @alt_names | |
[alt_names] | |
DNS.1 = localhost | |
DNS.2 = 127.0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment