400 Bad Request On Plesk Login when redirecting to https

Refers to:

  • Plesk 11.5 for Linux
  • Plesk Sitebuilder 4.1 for Windows

Created:

2016-11-16 13:09:12 UTC

Modified:

2016-12-21 20:04:19 UTC

0

Was this article helpful?


Have more questions?

Submit a request

400 Bad Request On Plesk Login when redirecting to https

Symptoms

When trying to access Plesk via http om 8443 port it should redirect to https .

    http://123.123.123.1:8443/login_up.php3

Instead it returns a ' 400 Bad Request ' error.

Cause

Software issue PPP-3580. It has been fixed in Plesk 12.

Resolution

Add the following line into /etc/sw-cp-server/conf.d/plesk.conf

    error_page 497 https://$host:$server_port$request_uri;

For example:

server {
listen 8443 ssl;
listen 8880;
include conf.d/*ipv6_ports.inc;


ssl_certificate /usr/local/psa/admin/conf/httpsd.pem;
ssl_certificate_key /usr/local/psa/admin/conf/httpsd.pem;

include conf.d/*plesk.inc;
include conf.d/*wpb.inc;
include conf.d/*cbm.inc;
include conf.d/*sso.inc;
error_page 497 https://$host:$server_port$request_uri;
}
Have more questions? Submit a request
Please sign in to leave a comment.