evershopcommerce / evershop

🛍️ NodeJS E-commerce Platform
https://evershop.io/
GNU General Public License v3.0
4.49k stars 1.24k forks source link

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 2 months ago

AdarshMishra9611 commented 2 months ago

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):

saurabhshukla689 commented 1 month ago

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