nuxsmin / sysPass

Systems Password Manager
https://syspass.org
GNU General Public License v3.0
958 stars 207 forks source link

Error 400 - Load Balance - AWS #1911

Closed pgabriel10 closed 10 months ago

pgabriel10 commented 10 months ago

sysPass Version 3.2.2

Describe the bug After I put the Syspass behind de Load Balance in AWS I received the error Bad Request.

This error happens when I try to use a certificate via LB (Connection via TLS to use the aws certificate).

If I use LB without TLS with only TCP to redirect .... the access works normally. ( The problem is certificate...because is self signed )

To Reproduce Steps to reproduce the behavior:

Run apache service with internal IP
Configure LB in AWS to TLS port 443 to Internal Syspass
See error

Error received in Browser:

Bad Request Your browser sent a request that this server could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port. Instead use the HTTPS scheme to access this URL, please. Apache/2.4.41 (Ubuntu) Server at ip-10-0-0-132.we-east-2.compute.internal Port 443

Platform (please complete the following information):

OS: Ubuntu 20:04

oluapG commented 10 months ago

As you mention, you are using Apache.

Can you try disable SSL in /etc/apache2/sites-available/default-ssl ?

pgabriel10 commented 10 months ago

I disable and works.

Closed. Thanks.