Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[ 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 = test@example.com
[ 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}}
@turtlepod

This comment has been minimized.

Copy link
Owner Author

@turtlepod turtlepod commented Mar 21, 2018

[ 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          = site.test

emailAddress                = Email Address
emailAddress_default        = test@example.com

[ 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       = site.test

@DomenicoCutrupi

This comment has been minimized.

Copy link

@DomenicoCutrupi DomenicoCutrupi commented Aug 18, 2019

thank you soo much

@hussnainsheikh

This comment has been minimized.

Copy link

@hussnainsheikh hussnainsheikh commented Feb 13, 2020

Hi there,

I have tried to install the SSL on my VPS(Windows) through your tutorial but after installed it is not working. Any idea why it is not working: https://app.famsart.nl/

@turtlepod

This comment has been minimized.

Copy link
Owner Author

@turtlepod turtlepod commented Feb 14, 2020

@PsyVenture

This comment has been minimized.

Copy link

@PsyVenture PsyVenture commented Apr 2, 2020

Hi there,

I followed your tutorial and did all the steps described here: https://shellcreeper.com/?p=2573 but in the end the connection was still not secure. On my xammp control panel i have apache running on ports 80 and 443. Do you have any idea how can i troubleshoot and find out what is not working ?
Thanks in advance

@satendra12

This comment has been minimized.

Copy link

@satendra12 satendra12 commented Apr 4, 2020

Hi there,

I followed your tutorial and did all the steps described here: https://shellcreeper.com/?p=2573 but in the end the connection was still not secure. On my xammp control panel i have apache running on ports 80 and 443. Do you have any idea how can i troubleshoot and find out what is not working ?
Thanks in advance

Also i am face same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.