Add SSL in Apache
Informational
I always forget these two commands:
sudo a2enmod ssl
sudo a2enmod rewrite
If needed, generate a self signed certificate:
cd /etc/apache2/certs
openssl req -new -newkey rsa:4096 -x509 -sha256 -day 365 -nodes -out apache.crt -keyout apache.key
Then the standard stuff in sites-enabled.