Created
May 24, 2016 08:28
-
-
Save diversemix/98fefd390bf9c5d52308cbf96bc467f1 to your computer and use it in GitHub Desktop.
How to create a 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
openssl genrsa -out server.key 4096 | |
openssl req -new -key server.key -out server.csr | |
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt | |
Now copy to the right config folder: | |
cp server.crt /<configuration folder>/ssl.crt | |
cp server.key /<configuration folder>/ssl.key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment