CertificateUnknown error when connecting to Heroku Postgres database CertificateUnknown error when connecting to Heroku Postgres database heroku heroku

CertificateUnknown error when connecting to Heroku Postgres database


With Npgsql 3.1.5 try to use "Trust Server Certificate=true" in connection string.Example connection string:

Server=[servername];Port=[port];User Id=[username];Password=[password];Database=[databasename];sslmode=Require;Trust Server Certificate=true