Last active
April 29, 2016 21:06
-
-
Save tonybolzan/76d27ef0470705c7a451ee0620f63e99 to your computer and use it in GitHub Desktop.
Self Signed SSL to localhost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt -subj "/CN=localhost" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment