Skip to content

Instantly share code, notes, and snippets.

@stvbdn
Last active December 16, 2015 08:29
Show Gist options
  • Save stvbdn/5405897 to your computer and use it in GitHub Desktop.
Save stvbdn/5405897 to your computer and use it in GitHub Desktop.
CSR generation for SSL
# Generate CSR
openssl req -nodes -newkey rsa:2048 -keyout websiteurl.com.key -out websiteurl.com.csr
# Fill this in
Country Name (2 letter code) [AU]:CA
State or Province Name (full name) [Some-State]:Alberta
Locality Name (eg, city) []:Edmonton
Organization Name (eg, company) [Internet Widgits Pty Ltd]:CompanyName
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:websiteurl.com
Email Address []:siteadmin@website.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
# Send the resulting CSR to the SSL provider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment