Last active
October 27, 2015 22:51
-
-
Save joseche/45cd8eeee6ab23cccca3 to your computer and use it in GitHub Desktop.
Generate TLS self-signed certs
This file contains hidden or 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
| # generate self signed certificate: | |
| openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -subj /CN=localhost -keyout cert.key -out cert.crt | |
| # show contents of certficiate | |
| openssl x509 -in cert.crt -text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment