Skip to content

Instantly share code, notes, and snippets.

@julianlam
Created July 9, 2015 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julianlam/ee7c1084a6faba5fa398 to your computer and use it in GitHub Desktop.
Save julianlam/ee7c1084a6faba5fa398 to your computer and use it in GitHub Desktop.
Handy Dandy SSL Commands
### Create and Store a CSR
cd /etc/ssl
mkdir -p localcerts/sitename
cd localcerts/sitename
openssl req -new -newkey rsa:2048 -nodes -sha256 -days 365 -keyout sitename.key -out sitename.csr
chmod 400 sitename.csr sitename.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment