How to: Solve Invalid method in request \x16\x03\x01

February 16, 2011

If you’re getting an errors when you try and load your SSL site in your browser, and you see lines like this in your error log: [Wed Feb 16 22:11:43 2011] [error] Invalid method in request \x16\x03\x01 Then it’s highly likely you are trying to access an non-SSL HTTP service using SSL. E.g. your SSL

If you’re getting an errors when you try and load your SSL site in your browser, and you see lines like this in your error log:

Then it’s highly likely you are trying to access an non-SSL HTTP service using SSL. E.g. your SSL server isn’t running on port 443, the standard apache module is responding. This can happen on Ubuntu if you haven’t enabled your SSL site. So once you’ve configured your SSL site in /etc/apache2/sites-available/default-ssl, ensure you run the following command: