varun7447
varun7447

Reputation: 595

npgsql connecting to AWS RDS PostgreSQL with SSL

npgsql driver supports the following parameter sslrootcert=<<certname>> ? this parameter is not honored in the connection string as there is no effect. I have imported the certificate to the webserver and the updated connection string too.

Upvotes: 0

Views: 1161

Answers (1)

Shay Rojansky
Shay Rojansky

Reputation: 16672

Npgsql currently doesn't allow specifying a certificate via the connection string, you need to provide the certificate programmatically as described in the docs. An issue already tracks specifying the certificate via the connection string.

BTW, did you see documentation saying you could use sslrootcert=<<certname>> anywhere with Npgsql?

Upvotes: 1

Related Questions