Skip to content

Instantly share code, notes, and snippets.

@sean-kang
Last active December 16, 2015 19:30
Show Gist options
  • Select an option

  • Save sean-kang/5485894 to your computer and use it in GitHub Desktop.

Select an option

Save sean-kang/5485894 to your computer and use it in GitHub Desktop.
Quick Self-signed RSA Key and X509 Certificate
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mycert.key -out mycert.crt
#openssl genrsa -out mykey.pem 2048
#openssl req -new -x509 -key mykey.pem -out mycert.crt -days 730
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment