Search code examples
postgresqlsslopensslpsql

Error: The server does not support SSL connections


M1 Mac Monterey12.1

Error: The server does not support SSL connections

I used a postgres server to I ran the following code.

DATABASE_URL=$DATABASE_URL NODE_ENV=production yarn develop    

enter image description here I'm using strapi with a postgres server. I did a breww install openssl.


Solution

  • The PostgreSQL server does not support SSL connections. As per the documentation, you should add sslmode=disable to your JDBC connection URL or as connection parameter.