Apache2 + SSL at debian

Para instalar apache2 con ssl en debian

Instalamos apache2

apt-get install apache2

apache2-ssl-certificate

cp /etc/apache2/sites-available/default /etc/apache2/sites-available/ssl

ln -s /etc/apache2/sites-available/ssl /etc/apache2/sites-enabled/000-ssl

vi /etc/apache2/ports.conf ( Agregamos Listen 443)

vi /etc/apache2/sites-available/ssl

Agregamos en cualquier parte del virtualhost

SSLEngine On

SSLCertificateFile /etc/apache2/ssl/apache.pem

a2enmod ssl

/etc/init.d/apache2 restart

Y deberiamos tener apache2 corriendo con ssl

Disuclpen lo rápido del tutorial pero ahora ando medio apurado :(

Update: Revisen http://www.debian-administration.org/articles/349

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.