DB connection issue
romanindermuehle
FREEOP

14 days ago

Recently I tried to setup a demo project. I put all required env var into the backend to connect to the db. But me ORM has no a issue to verify the connection because of the self signed certificate. What can I do in order to fix it, without turning off SSL?

4 Replies

passos
MODERATOR

12 days ago

Hey, probably you've fixed it already but you've to tell your ORM to ignore self signed certificates


romanindermuehle
FREEOP

12 days ago

Hey, actually I wasn’t able to fix it until now.

So it’s not possible to download a copy of the certificate?


passos
MODERATOR

12 days ago

You could ssh into your Postgres service using the CLI and then downloading the certs inside /var/lib/postgresql/data/certs. There may be better ways but I just ignore self signed certificates.


romanindermuehle
FREEOP

12 days ago

Thank you for the help, I’ll try it out.


Loading...