Skip to content

Instantly share code, notes, and snippets.

@Yomguithereal
Created April 30, 2014 09:25
Show Gist options
  • Save Yomguithereal/4823b599987ec7843ba7 to your computer and use it in GitHub Desktop.
Save Yomguithereal/4823b599987ec7843ba7 to your computer and use it in GitHub Desktop.
SSL Dev
openssl genrsa -out key.pem 4096
openssl req -new -key key.pem -out csr.pem -subj "/C=US/ST=California/L=San Francisco/O=Local-Company/OU=dev/CN=localhost/emailAddress=test@test.com"
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
rm csr.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment