Hello all,
For some reason, the postgres plugin segfaults when I set EnableSsl to true. I know the rest of my config is good, because everything works as long as EnableSsl is set to false. And I know my postgres instance is good, because I've been able to connect to it over SSL using pg_admin. Currently using the jodogne/orthanc-plugins:latest docker image. My postgres instance is hosted in AWS, using RDS.
This is my config :
"PostgreSQL" : {
"EnableIndex" : true,
"EnableStorage" : false,
"Host" : "[MY HOST ADDRESS]",
"Port" : 5432,
"Database" : "[MY DATABASE]",
"Username" : "[MY USERNAME]",
"Password" : "[MY PASSWORD]",
"EnableSsl" : true
},
When I start up Orthanc, it gets to the part where it tries to initialize the postgres connection, and I get this :
W0216 20:56:34.725411 main.cpp:1533] Using a custom database from plugins
W0216 20:56:34.725444 OrthancInitialization.cpp:406] Storage directory: "/var/lib/orthanc/db"
Segmentation fault
And then it just dies and doesn't give me any more information. I don't know how to go about troubleshooting this.
Has anybody been able to get SSL to work for the postgres plugin? If so, can you please tell me how you got it to work?
--Jeremy