Skip to content

Instantly share code, notes, and snippets.

@ugursogukpinar
Last active July 4, 2018 10:09
Show Gist options
  • Save ugursogukpinar/dd31776aaa832e6579825a44a6232761 to your computer and use it in GitHub Desktop.
Save ugursogukpinar/dd31776aaa832e6579825a44a6232761 to your computer and use it in GitHub Desktop.
#http://www.akadia.com/services/ssh_test_certificate.html
openssl genrsa -des3 -out server.key 1024
openssl req -new -key server.key -out server.csr
cp server.key server.key.org
openssl rsa -in server.key.org -out server.key
openssl x509 -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