a2enmod ssl

Category: Web Servers & Proxies

a2enmod ssl

Enable the Apache SSL/TLS module

Activates mod_ssl, which provides the Listen 443 directives and SSLEngine options needed to serve HTTPS. After enabling, add a virtual host (vhost = one site served by one server) with your certificate paths and reload Apache. Disable it with a2dismod ssl.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.