Created
June 20, 2014 09:25
-
-
Save imesh/9d06052e43d8fac5623f to your computer and use it in GitHub Desktop.
Generate a SSL Key and a 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
echo "Creating a local Certificate Authority using OpenSSL ..." | |
openssl genrsa -des3 -out ca.key 1024 | |
echo "Building the certificate of Certificate Authority ..." | |
openssl req -new -x509 -days 365 -key ca.key -out ca.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment