SSL/TLS required

I used Render’s Postgres DB and also have a Node/Express server on Render. When trying to access a route, I am getting “SSL/TLS required”. Not sure how to solve it :grimacing:

I’m using pg, a node package for postgres connection configuration and it looks like their docs are telling me I need a ca cert or something like that https://node-postgres.com/features/ssl
How would I find that in Render?

looks like appending ?ssl=true fixed it!
ref node.js - SSL for PostgreSQL connection nodejs - Stack Overflow

1 Like