May 2, 2012

Apache 2 SSL setup in Ubuntu



I was trying to get SSL setup with Apache 2 Http server in Ubuntu. I've enabled the SSL module and restarted but I was getting this error:

Invalid method in request \x16\x03

After some googling, I've found this article http://ubuntuforums.org/showthread.php?t=806884 .  The following was the suggestion and it works.

sudo ln -s /etc/apache2/sites-available/default-ssl /etc/apache2/sites-enabled/000-default-ssl
sudo service apache2 restart