Skip to content

Instantly share code, notes, and snippets.

@lysender
Created August 28, 2015 09:17
Show Gist options
  • Save lysender/8496fd14f35f01b521b8 to your computer and use it in GitHub Desktop.
Save lysender/8496fd14f35f01b521b8 to your computer and use it in GitHub Desktop.
Create a sha256 self-signed certificate
openssl req -x509 -nodes -sha256 -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment