Bug report #14366
No SSL warnings when connecting to a postgres database using a self-signed certificate
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | |||
Category: | Data Provider/PostGIS | ||
Affected QGIS version: | 2.12.2 | Regression?: | No |
Operating System: | Ubuntu | Easy fix?: | No |
Pull Request or Patch supplied: | Yes | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22349 |
Description
I was able to connect to a postgres database that uses a self-signed certificate and received no warning that the certificate could not be validated. While users should not be prevented from connecting to a certificate that cannot be validated, they should be warned.
Associated revisions
History
#1
Updated by Jürgen Fischer over 8 years ago
- Pull Request or Patch supplied changed from No to Yes
libpq has no option to warn about self-signed certificates. But it has the currently unsupported sslmode verify-ca
and verify-full
- which PR!#2842 adds support for.
#2
Updated by James Keener over 8 years ago
That's great, and exactly what I was hoping for! Thanks!
#3
Updated by Jürgen Fischer over 8 years ago
- Resolution set to fixed/implemented
- Status changed from Open to Closed