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

Looks like your database server does not have a valid SSL certificate. Please turn off the SSL option in the database configuration, restart the database server and try again #620

Open
AdarshMishra9611 opened this issue Sep 6, 2024 · 1 comment
Assignees

Comments

@AdarshMishra9611
Copy link

Describe the bug
after runnig npm run setup command getting an error that says - "Looks like your database server does not have a valid SSL certificate. Please turn off the SSL option in the database configuration, restart the database server and try again"-

To Reproduce
Steps to reproduce the behavior:
after setting up evershop and after runnig npm run setup command getting an error that says - "Looks like your database server does not have a valid SSL certificate. Please turn off the SSL option in the database configuration, restart the database server and try again"- but i have alredy configred the ssl mode in .env file DB_SSLMODE = disable still it showing error

Expected behavior
If DB_SSLMODE = disable in .env file then no error should be there and if this configration does not exist in .env file then error should not be there only

Screenshots
Screenshot 2024-09-06 122950
image

Background (please complete the following information):

  • NodeJS Version - 20.5.1
    -Postgres Version - 15
    -EverShop Version - 1.2.0
    -OS: Ubuntu 24.04
@AdarshMishra9611 AdarshMishra9611 changed the title [BUG] Looks like your database server does not have a valid SSL certificate. Please turn off the SSL option in the database configuration, restart the database server and try again Sep 9, 2024
@saurabhshukla689
Copy link

Hi @AdarshMishra9611 . You need to turn off the SSL from postgres config file and restart the DB Server

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

3 participants