Apache2 SSL

From Jon's Wiki

In Ubuntu (8.10+) SSL is all sorted. Just enable the default-ssh site (no name-based hosting for SSL):

sudo a2ensite default-ssl

Then, make sure your VirtualHost directives specify port 80, otherwise SSL fails. So, VirtualHost * isn't enough any more, it needs to be VirtualHost *:80

sudo sed -i 's/VirtualHost\ \*/VirtualHost\ \*:80/g' /etc/sites-available/*

That's what this error is all about:

[warn] NameVirtualHost *:80 has no VirtualHosts

You may need to then faff about and create certs.