Created
February 26, 2017 15:32
-
-
Save soardex/132067494357ba4701c19b002318df13 to your computer and use it in GitHub Desktop.
Create Stunnel Cert
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 2048 | tee stunnel.key | |
openssl req -new -key stunnel.key -x509 -days 365 -out stunnel.crt | |
openssl dhparam 2048 | tee stunnel.dhp | |
cat stunnel.crt stunnel.key stunnel.dhp | tee stunnel.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment