400 Bad Request: The plain HTTP request was sent to HTTPS port Plesk


Recently upgraded to Plesk 17.5 though not marked as stable release in command line, it can be used for production site that is what i am using for my shared hosting business.

400 The plain HTTP request was sent to HTTPS port (1)

However Plesk 17.5 onyx has some issues one of it is 400 Bad Request The plain HTTP request was sent to HTTPS port.

What this means is that you are trying to access the Plesk admin area from HTTP which normally it should redirect but on Plesk 17.5 it does not, so we are going to make some hacks in Plesk panel server sw-cp-server.

What you have to do is login to your server using your favorite tool, putty or terminal. I use Winscp when it comes to editing files as it gives you that graphical feel. Navigate to the below location

Now locate the below file

Add the below line at the end of the file, make sure it is inside the curly braces

Once done it should look like this;

Now all you have to do is restart the Plesk backend server, do not restart your entire server so you don’t cause down time.

Curled from:


Please enter your comment!
Please enter your name here