Created
May 12, 2011 17:15
-
-
Save wyanez/968974 to your computer and use it in GitHub Desktop.
[apache] Crear Certificado para Apache y SSL
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 /etc/apache2/ssl | |
export RANDFILE=/dev/random | |
openssl req $@ \ | |
-new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem \ | |
-keyout /etc/apache2/ssl/apache.pem | |
chmod 600 /etc/apache2/ssl/apache.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment