Skip to content

Instantly share code, notes, and snippets.

@ef2k
Created December 7, 2014 08:46
Show Gist options
  • Select an option

  • Save ef2k/186ba26785a94ff26aba to your computer and use it in GitHub Desktop.

Select an option

Save ef2k/186ba26785a94ff26aba to your computer and use it in GitHub Desktop.
Generate an SSL certificate
openssl genrsa -des3 -out fooboo.key 2048
openssl req -new -key fooboo.key -out fooboo.csr
openssl x509 -req -days 365 -in fooboo.csr -signkey fooboo.key -out fooboo.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment