Misdirected Request error after generating SSL certificate

Hello,

After generating an SSL certificate for my domain on Hestia CP, I started getting the following error when accessing my site via HTTPS:

Misdirected Request – The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection.

HTTP (port 80) works perfectly fine.

The issue appears only after generating the SSL certificate and enabling HTTPS (port 443).

I have checked my nginx configuration and the server_name directive seems correct.

I suspect there might be a problem with port handling or virtual host configurations on the server.

Has anyone experienced this issue before? Any advice or solutions would be greatly appreciated.

Thank you!

2 Likes

i have the same issue after update apache2 on my server

Misdirected Request

The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection.

how to fix?

3 Likes

use this command:

my server now work again.

1 Like

Exactly.

Thank you very much!

I had the issue as well after updating. My SSL is paid for so why should this happen and again, its only the website that is up, the webmail is still down, any ideas

Thanks Bro

Thank you very much. Worked for me too.