To use SSL on Apache, the mod_ssl module must be enabled.
To enable the mod_ssl module, type the following command: sudo a2enmod ssl