Last active
March 4, 2016 19:16
-
-
Save ajayhn/4a9392bbd8a9b9105ec8 to your computer and use it in GitHub Desktop.
automated-self-signed-cert
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
mkdir -p certs && openssl req -newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key -x509 -days 365 -out certs/domain.crt -subj "/C=US/ST=California/O=ENG/CN=$(hostname -f)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment