Skip to content

Instantly share code, notes, and snippets.

@wyanez
Created May 12, 2011 17:15
Show Gist options
  • Save wyanez/968974 to your computer and use it in GitHub Desktop.
Save wyanez/968974 to your computer and use it in GitHub Desktop.
[apache] Crear Certificado para Apache y SSL
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