brianc / node-pg-pool

A connection pool for node-postgres
MIT License
180 stars 64 forks source link

How to specify the ssl certificate for connection #90

Closed samehsharaf closed 6 years ago

samehsharaf commented 6 years ago

Hi,

I need to test a new certificate for SSL connection. The idea is, I'm testing the new certificate to be used to connect to AWS Redshift based on the link: https://docs.aws.amazon.com/redshift/latest/mgmt/connecting-transitioning-to-acm-certs.html

How can I specify the SSL certificate to be used in config when creating Pool object?

Thanks!

brianc commented 6 years ago

does this help? https://node-postgres.com/features/ssl