Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment Variable for SSL doesn't seem to work #955

Open
henrysachs opened this issue Oct 20, 2023 · 0 comments
Open

Environment Variable for SSL doesn't seem to work #955

henrysachs opened this issue Oct 20, 2023 · 0 comments

Comments

@henrysachs
Copy link

Describe the bug
A clear and concise description of what the bug is.

I try to connect to a Postgres ssl database with lighthouse ci server

To Reproduce
Steps to reproduce the behavior:

I created a AWS RDS Database with force_ssl=1
Start Docker Container with: LHCI_STORAGE__SQL_CONNECTION_SSL="true"
I also tried: LHCI_STORAGE__SQL_CONNECTION_SSL="1"

Expected behavior
A clear and concise description of what you expected to happen.
The application connects to the database

Logs/Screenshots
If applicable, add LHCI logs or screenshots to help explain your problem.

SequelizeConnectionError: no pg_hba.conf entry for host xxx, user xxx, database "lighthouse", no encryption

the error indicates that ssl is still not used

Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant