Sunday, August 7, 2011

How to install mod_ssl on Apache2 - Ubuntu

Execute the following :

# sudo a2enmod ssl


Then, restart apache:

apachectl restart

To make sure that the SSL module was loaded properly :

apache2ctl -t -D DUMP_MODULES | grep ssl

If you see :
ssl_module (shared)
(The module is loaded.)

That's it.