Skip to content

Instantly share code, notes, and snippets.

@bonkydog
Created December 24, 2009 21:52
Show Gist options
  • Save bonkydog/263385 to your computer and use it in GitHub Desktop.
Save bonkydog/263385 to your computer and use it in GitHub Desktop.
openssl genrsa -des3 -out foo.key 1024
openssl req -new -key foo.key -out mysqql.csr
mv foo.key foo.key.com
openssl rsa -in foo.key.com -out foo.key
openssl x509 -req -days 365 -in foo.csr -signkey foo.key -out foo.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment