Created
June 11, 2009 17:51
-
-
Save edavis10/128113 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Openssl script to regenerate the Apache2 cert in place of apache2-ssl-certificate | |
echo "Use your url for the Common Name (CN)" | |
openssl req $@ -new -x509 -days 365 -nodes -out /etc/apache2/apache.pem -keyout /etc/apache2/apache.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment