Created
July 15, 2020 16:47
-
-
Save huezo/ba7409685a13e68c6ac93339664f92e7 to your computer and use it in GitHub Desktop.
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/bash | |
echo ">> generating self signed cert" | |
openssl req -x509 -newkey rsa:4086 \ | |
-subj "/C=XX/ST=XXXX/L=XXXX/O=XXXX/CN=localhost" \ | |
-keyout "$PWD/key.pem" \ | |
-out "$PWD/cert.pem" \ | |
-days 3650 -nodes -sha256 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment