Summary: | Unable to connect to PostgreSQL database using SSL | ||
---|---|---|---|
Product: | Orthanc | Reporter: | Sébastien Jodogne <s.jodogne> |
Component: | Plugin - PostgreSQL | Assignee: | Sébastien Jodogne <s.jodogne> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | --- | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All |
[BitBucket user: Georg Grab] [BitBucket date: 2018-12-20.10:54:17] I'm running into this as well. [BitBucket user: Sébastien Jodogne] [BitBucket date: 2019-01-10.11:54:12] This is issue is resolved by the following changeset: https://hg.orthanc-server.com/orthanc-databases/changeset/16df1a6ea452f324454d3f7b52a6bea3823db4d0 |
[BitBucket date: 2018-10-19.13:26:23] Using the following config: ``` #!json "PostgreSQL" : { "EnableIndex" : true, "EnableStorage" : true, "ConnectionUri" : "postgresql://user:pwd@host:5432/orthanc?sslmode=require" } ``` Results in an error on startup: > PostgreSQL error: sslmode value "require" invalid when SSL support is not compiled in