Open cassus opened 10 months ago
sslrootcert=system
might already be the default behavior of node-postgres
(it is)
Great! Thanks @charmander! I updated the issue description.
I guess this means that the implementation of this feature would be very easy: just ignore sslrootcert
if it's set to system
?
From v16 the postgres client supports a special
sslrootcert
connection string param that uses the system root certificate storage. It would be great if node-postgres would also support this paramCurrent behavior
when
sslrootcert=system
is in the connection string the behavior isTypeError: dr.readFileSync is not a function
sslrootcert=system
is already the default behavior of node-postgres, but it's not obvious for me by reading the https://node-postgres.com/features/ssl documentationBlog post: