2011-02-22 | Paul Boddie | file changeset files shortlog | Added an example configuration that would lead to limited hosting in a particular directory, requiring .htaccess and mod_rewrite tricks. |
paul@27 | 1 | sudo a2enmod ssl |
paul@27 | 2 | sudo /etc/init.d/apache2 force-reload |
paul@27 | 3 | sudo openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.key |
paul@27 | 4 | |
paul@27 | 5 | Common Name must be the hostname! |