PostgreSQL
 SQL >> Database >  >> RDS >> PostgreSQL

Errore self signed certificate con Node.js e Heroku Postgres

Controlla la configurazione pg. Se usi pg 8 o successivo, devi impostare esplicitamente rejectUnauthorized:

const client = new Client({
  connectionString: connectionString,
  ssl: { rejectUnauthorized: false }
});