Reputation: 595
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
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