Enable the module by typing:
sudo a2enmod ssl
Restart the web server (apache2) so the change is recognized:
sudo service apache2 restart
Optional (but a good idea): Create a directory that will contain our new certificate files:
sudo mkdir /etc/apache2/ssl
Create the key and self-signed ...