Hi,
Does the authorization plugin support TLS ?
We’ve got those errors while querying our distant authorization server over https:
- While setting HttpsVerifyPeers to true and leaving HttpsCACertificates empty :
orthanc_1 | E0313 10:30:00.106030 HttpClient.cpp:223] libCURL error: Problem with the SSL CA cert (path? access rights?)
orthanc_1 | E0313 10:30:00.124633 PluginsManager.cpp:197] Exception while invoking plugin service 27: Error in the network protocol
nginx-proxy_1 | nginx.1 | nginx-proxy 172.20.0.4 - - [13/Mar/2018:10:30:00 +0000] “GET /changes?limit=10 HTTP/1.1” 403 0 “-” “python-requests/2.9.1”
orthanc_1 | E0313 10:30:00.129175 PluginsManager.cpp:164] Error in the network protocol
- While setting HttpsVerifyPeers to false OR leaving it to true AND setting HttpsCACertificates to both included /etc/ssl/certs/ca-certificates.crt or downloaded http://curl.haxx.se/ca/cacert.pem :
orthanc_1 | E0313 10:32:00.151727 HttpClient.cpp:223] libCURL error: SSL connect error
orthanc_1 | E0313 10:32:00.152659 PluginsManager.cpp:197] Exception while invoking plugin service 27: Error in the network protocol
orthanc_1 | E0313 10:32:00.153421 PluginsManager.cpp:164] Error in the network protocol
nginx-proxy_1 | nginx.1 | nginx-proxy 172.20.0.4 - - [13/Mar/2018:10:32:00 +0000] “GET /changes?limit=10 HTTP/1.1" 403 0 “-” “python-requests/2.9.1"
Our certificate is issued by Cloudflare (Comodo).
Step to reproduce: setting any https url (ie. https://requestb.in/1hmtlhy1) as WebService on the demo: https://bitbucket.org/osimis/orthanc-setup-samples/src/45bbe8fc92a860c585ed1bdec16155277f02335c/docker/authorization-plugin/orthanc/orthanc.json?at=master&fileviewer=file-view-default#orthanc.json-5
Have anyone run into that issue? Any thougth?