enable apache ssl module in ubuntu

From WebHostingNeeds.com
Jump to: navigation, search

To enable Apache SSL module in Ubuntu, run

# a2enmod ssl
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Enabling module socache_shmcb.
Enabling module ssl.
See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
To activate the new configuration, you need to run:
  service apache2 restart
# service apache2 restart
 * Restarting web server apache2     [ OK ] 
# apache2ctl -M | grep ssl
 ssl_module (shared)