Created
March 5, 2015 23:59
-
-
Save simonspa/a4251400d083103939ac to your computer and use it in GitHub Desktop.
generate openssl self-signed certificate
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
sudo openssl req -x509 -new -days 1325 -newkey rsa:4096 -nodes -sha256 -out /etc/nginx/ssl/name.sha256.crt -keyout /etc/nginx/ssl/name.sha256.key | |
* 5 years validity (1325 days) | |
* SHA256 Signature | |
* 4096 bit RSA key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment