brianc/node-postgres-docs

I am trying to connect to aws serverless postgres

kamarajuPrathi opened this issue · 3 comments

with ssl true , it doesnot allow me to connect , i receive the below error

unable to get local issuer certificate

try connecting with

{ host: '....', 
  // etc
  ssl: { rejectUnauthorized: false }
}

I'm able to connect to redshift with ssl: true using AWS hostname. The workaround is also given in the above comment for the scenario if you are using a custom domain which causes the aws cert to not match the domain you are using.

I think this issue may be closed.