Created
November 1, 2017 08:23
-
-
Save FirefoxMetzger/da1a9327c605a20ff856cb785df2707e to your computer and use it in GitHub Desktop.
modified openSSL config for https://gist.github.com/FirefoxMetzger/7464d461dbbfbfc3f5a6402294c0cc4d
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 = 2048 | |
distinguished_name = req_distinguished_name | |
x509_extensions = v3_ca # The extentions to add to the self signed cert | |
string_mask = utf8only | |
[ req_distinguished_name ] | |
countryName = Country Name (2 letter code) | |
countryName_default = AU | |
countryName_min = 2 | |
countryName_max = 2 | |
stateOrProvinceName = State or Province Name (full name) | |
stateOrProvinceName_default = Some-State | |
localityName = Locality Name (eg, city) | |
0.organizationName = Organization Name (eg, company) | |
0.organizationName_default = Internet Widgits Pty Ltd | |
organizationalUnitName = Organizational Unit Name (eg, section) | |
commonName = Common Name (e.g. server FQDN or YOUR name) | |
commonName_max = 64 | |
emailAddress = Email Address | |
emailAddress_max = 64 | |
[ v3_req ] | |
basicConstraints = CA:FALSE | |
keyUsage = nonRepudiation, digitalSignature, keyEncipherment | |
[ v3_ca ] | |
subjectKeyIdentifier=hash | |
authorityKeyIdentifier=keyid:always,issuer | |
basicConstraints = CA:true | |
subjectAltName=@alternate_names | |
[ alternate_names ] | |
IP.1 = 192.168.99.102 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment