Skip to content

Instantly share code, notes, and snippets.

@jnakatsui
Last active October 28, 2015 23:57
Show Gist options
  • Save jnakatsui/11272111 to your computer and use it in GitHub Desktop.
Save jnakatsui/11272111 to your computer and use it in GitHub Desktop.
SSL CSR and CRT Creation
openssl req -new -newkey rsa:4096 -nodes -keyout server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
openssl rsa -in server.key -out server.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment