NeonN
Neon2y ago
4 replies
technical-ivory

pg_dump needs certificate

Hi

I'm trying to run pg_dump and getting the following error:

$ pg_dump -d 'sslmode=require host=abc.neon.tech dbname=foo' > prod_backup.sql
pg_dump: error: connection to server at "abc.neon.tech", port 5432 failed: SSL error: certificate verify failed

How do I specify the certificate? I'm on zsh on macos....

Thanks

Ben
Was this page helpful?