eriksays
eriksays

Reputation: 140

setting up ssl on apache2

I'm having issues geting SSL running with apache2.

I've gone through a number of helpful articles:

I generated a symbolic link in sites-enabled (000-default-ssl) to my default-ssl conf file in sites-available

I'm getting the following error in Firefox: ssl_error_rx_record_too_long My apache error log has a line: Invalid method in request \x16\x03

port 443 is open and listening because I can hit http://my.IP.Address:443 without errors.

So it looks like my server is listening to port 443, but it's serving up content unsecured (HTTP) which leads me to believe I've got an error in my VirtualHost conf but I can't find it.

Any suggestions?

Upvotes: 5

Views: 5126

Answers (1)

eriksays
eriksays

Reputation: 140

So, the fix was to add ports to all the NameVirtualHost declarations in my .conf files:

NameVirtualHost my.i.p.address:443

Upvotes: 2

Related Questions