24 C
Lagos
Wednesday, September 23, 2020

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

- Advertisement - data-full-width-responsive="false">

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.

- Advertisement -

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.

http://123.123.123.1:8443/login_up.php3

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

/etc/sw-cp-server/conf.d

Now locate the below file

plesk.conf

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

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

Once done it should look like this;

server_names_hash_bucket_size 64;



server {

listen 8443 ssl;

listen 8880;

listen 127.0.0.1:8880 default_server;

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;

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

}

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.

service sw-cp-server restart

Curled from:

Advertisement
data-full-width-responsive="true">
- Advertisement -
Kingsley Felixhttps://kraftysprouts.media
Based in Port Harcourt, Nigeria. I am the founder of Krafty Sprouts Media, LLC (US), i make sure thing run smoothly and well organized in our organization. Follow me on my social media platforms.
- Advertisement -

Trending Now

Powerworks 51102 1700 PSI Electric Pressure Washer

The Powerworks 51102 PSI Electric Pressure Washer is an attractive unit with a modern, sleek design. Its compact design and large wheels make this pressure...
- Advertisement -

Startimes Subscription Prices, Packages and Channels List in 2020

StarTimes Nigeria is one of the popular cable TV providers in Nigeria. This service is a subsidiary of a Chinese based company...

10 Best Places to Download Bollywood Movies

Do you spend hours watching Bollywood movies as I do? Have you been in search of the perfect sites to download the...

Big Brother Naija 2020: How to Vote Using MyDStv, MyGOtv App?

Big Brother Naija pepper dem has been everything hot and spicy since it started, and Big brother keeps serving us the viewers...

7 Best Offline Racing Games for Android Users in 2020

Are you a real gamer? If you are one, then you will know how exciting it can be to experience the adrenaline rush that...

GB WhatsApp, WhatsApp Plus and OG WhatsApp Tips and Tricks

Checkout the new GB WhatsApp Tutorial. Hello, welcome to WhatsApp Plus, OG WhatsApp and GB WhatsApp tips and tricks. For the sake of this article,...

Best Low Size PC Action Games For Your Old PC/Laptop With Low Specs

Gaming time is one our favorite time and nothing beats the ability to play high-quality games on our PCs but like some of our...

9+ Infinix Phones With Best Camera in 2020

People purchase smartphones for different reasons, and it is no brainer that the camera specifications is one of the features they look out for...

MyGOtv App – Manage Your GOtv Account & Subscription Easily

Multichoice Nigeria, the owners of DStv and GOtv has recently launched a new mobile application called MyGOtv, for its popular digital platform, GOtv. According to...

GB WhatsApp Pro, OG WhatsApp Pro V8.10 (GB OG Replacements) Latest Version

Good day peeps, the latest GBWhatsApp is here... and it is called the GB WhatsApp Pro Remember earlier, GB Mods the maker of GB WhatsApp...

How to Recover Lost Snapchat Account?

Losing a Snapchat account can be disastrous as many of us use the Social for private purposes and its privacy oriented features. Forgetting passwords...
- Advertisement -

Related Posts

How to Install Kodi on Android TV in a Few Steps?

Kodi is one of the most amazing ways to stream content to your television from your mobile phone or your computer. And if you've...

*7111#: How to Use Keystone Bank USSD Code

Following the Central Bank of Nigeria's cashless policy currently in place, it is not surprising that Keystone Bank has introduced its USSD...

4K Video Downloader: How to Download TikTok Videos

TikTok is the most popular short-video app the world over. Even though YouTube and Instagram are striving to leverage TikTok best functionality in terms...

How to Decide Which Identity Theft Protection is Right for You

With increasing risk to digital identity online, it becomes important to place necessary counter measures. Here, selecting best identity protection service is one up-hill...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.