Last active
August 29, 2015 14:24
-
-
Save edwardbeckett/39ca5fca510cdc66df92 to your computer and use it in GitHub Desktop.
Self Signed Cert :: Apache
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
export OPENSSL_CONF=/c/apache/conf/openssl.cnf | |
export DAYS=365 | |
export RSA=2048 | |
export DOMAIN=www.example.com | |
/c/apache/bin/openssl req -x509 -nodes -sha256 -days $DAYS -newkey rsa:$RSA -keyout $DOMAIN.key -out $DOMAIN.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment