# mkdir /etc/apache2/ssl
# cd /etc/apache2/ssl
# openssl req -new -x509 -days 3650 -nodes -out /etc/apache2/ssl/ServerDienstCert.pem -keyout /etc/apache2/ssl/ServerDienstKey.pem
# a2enmod ssl
# vi apache2.conf
Listen 443 <VirtualHost IPDesServers:443> ServerName FQDN DocumentRoot /Wo/Auch/Immer/ SSLEngine On SSLCertificateFile /etc/apache2/ssl/ServerDienstCert.pem SSLCertificateKeyFile /etc/apache2/ssl/ServerDienstKey.pem </VirtualHost>
# service apache2 restart