Skip to content

Instantly share code, notes, and snippets.

@disintegrator
Last active August 29, 2015 14:22
Show Gist options
  • Save disintegrator/c670addee226f8e7d3fc to your computer and use it in GitHub Desktop.
Save disintegrator/c670addee226f8e7d3fc to your computer and use it in GitHub Desktop.
Easy SSL Certificates for dev
alias ssl=openssl
ssl genrsa -aes256 -passout pass:x -out server.pass.key 2048
ssl rsa -passin pass:x -in server.pass.key -out server.key
rm server.pass.key
ssl req -sha256 -new -key server.key -out server.csr
ssl x509 -sha256 -req -days 365 -in server.csr -signkey server.key -out server.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment