Um SSL unter FreeBSD zu aktivieren ist folgendes notwendig:
Erstellen der Zertifikate:
openssl genrsa -out /usr/local/etc/apache22/server.key 1024 openssl req -new -key /usr/local/etc/apache22/server.key \ -out /usr/local/etc/apache22/server.csr openssl x509 -req -days 3650 -in /usr/local/etc/apache22/server.csr \ -signkey /usr/local/etc/apache22/server.key \ -out /usr/local/etc/apache22/server.crt
Aktivieren in /etc/rc.conf:
# Apache 2.2 apache22_enable="YES" apache22_flags="-DSSL" apache22_http_accept_enable="YES"
Aktivieren in /usr/local/etc/apache22/http.conf:
# Secure (SSL/TLS) connections Include etc/apache22/extra/httpd-ssl.conf [..] Include etc/apache22/Includes/*.conf
Neustart:
apachectl restart