Created
June 2, 2015 19:59
-
-
Save asaph/40cf09418832c099001f to your computer and use it in GitHub Desktop.
Generate Self-Signed Cert in PEM format using OpenSSL
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
#!/bin/sh | |
openssl req -new -newkey rsa:2048 -nodes -days 365 -x509 -subj "/C=/ST=/L=/O=/CN=localhost" -keyout privkey.pem -out cacert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment