HTTPS

In /etc/apache2/ports.conf:
Listen 443
hinzufügen.

Mit dem Befehl
openssl req $@ -new -x509 -days 365 -nodes -out /etc/apache2/apache.pem -keyout /etc/apache2/apache.pem
ein Zertifikat erstellen.

In der Apache-Konfiguration SSL aktivieren und das Zertifikat angeben:

SSLEngine On
SSLCertificateFile /etc/apache2/apache.pem

Achtung: SSLEngine On scheint normales http unmöglich zu machen. Das muss man wohl durch vhosts trennen und so...