Created
July 9, 2015 16:10
-
-
Save julianlam/ee7c1084a6faba5fa398 to your computer and use it in GitHub Desktop.
Handy Dandy SSL Commands
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
### Create and Store a CSR | |
cd /etc/ssl | |
mkdir -p localcerts/sitename | |
cd localcerts/sitename | |
openssl req -new -newkey rsa:2048 -nodes -sha256 -days 365 -keyout sitename.key -out sitename.csr | |
chmod 400 sitename.csr sitename.key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment