CP SSL redirection is not working properly

interfasys

Verified User
Joined
Oct 31, 2003
Messages
1,821
Location
Switzerland
When SSL=1 is used in the config, a user trying to access the CP without using the SSL URL will be redirected to the SSL one.

The problem is that when the user is typing http://domain.com:2222, he is redirected to https://192.168.1.1:2222 (IP of the server) and the browser is showing the SSL warning screen because the cert is not valid for the IP, but for the hostname.

It would be great if this could be fixed.
 
In the config file, you should add this line:

Code:
ssl_redirect_host=your.hostname.com
 
Back
Top