Created
August 19, 2011 01:53
-
-
Save aaronky/1155816 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| $ openssl req -new -nodes -out req.pem | |
| $ openssl req -x509 -days 3650 -in req.pem -key privkey.pem -out cert.pem | |
| $ openssl dhparam -out dh.pem 2048 | |
| $ mv privkey.pem rsa.key | |
| $ chmod og-rwx req.pem cert.pem rsa.key | |
| ssl_private_key = "etc/ssl/rsa.key"; | |
| ssl_cert = "etc/ssl/cert.pem"; | |
| ssl_dh_params = "etc/ssl/dh.pem"; | |
| ssld_count = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment