Made the superuser setting optional.
Introduced a utility method for getting the moin script location.
Tidied up the configuration output.
Added some comments.
1 sudo a2enmod ssl
2 sudo /etc/init.d/apache2 force-reload
3 sudo openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.key
4 5 Common Name must be the hostname!