Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Install Comodo SSL, now HTTPS delivers 400 Bad Request

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
ralbrightii
Posts: 11
Joined: Sat Nov 23, 2019 1:37 am

Os: Ubuntu 17x
Web: apache + nginx
Install Comodo SSL, now HTTPS delivers 400 Bad Request
  • Quote

Post by ralbrightii » Sun Feb 02, 2020 5:25 pm

So I have a site that was operating great with Let's Encrypt, but every now and then would throw out errors complaining about that it was a self-signed certificate. So I decided to add a PositiveSSL from Comodo to that domain. For WHATEVER reason, now when I visit pretty much any site on my server with HTTPS I get the 400 Bad Request error. I have tried removing and re-adding domains in VestaCP. I did all of the client-side steps (removed cookies/cache).

But I think this is a server configuration issue, something I fowled up, now I am scratching my head while banging it into the wall. I really do not want to start over from scratch.

Any ideas?
Top

ralbrightii
Posts: 11
Joined: Sat Nov 23, 2019 1:37 am

Os: Ubuntu 17x
Web: apache + nginx
Re: Install Comodo SSL, now HTTPS delivers 400 Bad Request
  • Quote

Post by ralbrightii » Sun Feb 02, 2020 7:56 pm

To help those that come after, especially for VestaCP: to fix this error it is likely caused by server misconfiguration, or you are needing to update large_client_header_buffers.

This is done quite easily in VestaCP. Go to your Control Panel, click on Server, drop down to NGINX, and click on configure.
Click on Advanced options
find in the file:
large_client_header_buffers

It will likely be listed with 4 4k; change this to 4 16k or 4 32k;

Save, restart NGINX and you are fixed.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password