Created
March 21, 2018 13:45
-
-
Save turtlepod/3b8d8d0eef29de019951aa9d9dcba546 to your computer and use it in GitHub Desktop.
XAMPP SSL Tutorial https://shellcreeper.com/?p=2573
This file contains hidden or 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 | |
default_keyfile = server-key.pem | |
distinguished_name = subject | |
req_extensions = req_ext | |
x509_extensions = x509_ext | |
string_mask = utf8only | |
[ subject ] | |
countryName = Country Name (2 letter code) | |
countryName_default = US | |
stateOrProvinceName = State or Province Name (full name) | |
stateOrProvinceName_default = NY | |
localityName = Locality Name (eg, city) | |
localityName_default = New York | |
organizationName = Organization Name (eg, company) | |
organizationName_default = Example, LLC | |
commonName = Common Name (e.g. server FQDN or YOUR name) | |
commonName_default = {{DOMAIN}} | |
emailAddress = Email Address | |
emailAddress_default = [email protected] | |
[ x509_ext ] | |
subjectKeyIdentifier = hash | |
authorityKeyIdentifier = keyid,issuer | |
basicConstraints = CA:FALSE | |
keyUsage = digitalSignature, keyEncipherment | |
subjectAltName = @alternate_names | |
nsComment = "OpenSSL Generated Certificate" | |
[ req_ext ] | |
subjectKeyIdentifier = hash | |
basicConstraints = CA:FALSE | |
keyUsage = digitalSignature, keyEncipherment | |
subjectAltName = @alternate_names | |
nsComment = "OpenSSL Generated Certificate" | |
[ alternate_names ] | |
DNS.1 = {{DOMAIN}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks @lukademinnosa , this is the BEST code I found.
I suggest others to use it.