Skip to content

Instantly share code, notes, and snippets.

@kaz
Created April 10, 2016 06:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaz/2a8e61a5a6eed217f31dda6674a66cda to your computer and use it in GitHub Desktop.
Save kaz/2a8e61a5a6eed217f31dda6674a66cda to your computer and use it in GitHub Desktop.
openssl genrsa 2048 > key.pem
openssl req -new -key key.pem > req.pem
openssl x509 -days 65536 -req -signkey key.pem < req.pem > cert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment