Skip to content

Instantly share code, notes, and snippets.

@RomiC
Created March 11, 2017 11:55
Show Gist options
  • Save RomiC/5cf4200a557305e6613960a2e47978ad to your computer and use it in GitHub Desktop.
Save RomiC/5cf4200a557305e6613960a2e47978ad to your computer and use it in GitHub Desktop.
generate certificate command
openssl genrsa -out localhost.key 2048
openssl req -new -x509 -key localhost.key -out localhost.cert -days 3650 -subj /CN=localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment