Bug 10

Summary: ImageJ - Cannot access an Orthanc running with a self-signed HTTPS certificate
Product: Orthanc Reporter: Sébastien Jodogne <s.jodogne>
Component: ImageJ extensionAssignee: Sébastien Jodogne <s.jodogne>
Status: RESOLVED FIXED    
Severity: minor    
Priority: ---    
Version: unspecified   
Hardware: All   
OS: All   

Description Sébastien Jodogne 2020-06-29 15:11:18 CEST
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2016-01-22.08:31:06]

Reported by John Roberts on 2016-01-22:

*Either the self-signed certificates or SSL itself prevent the ImageJ plugin from connecting.  
Adding a server and adjusting the url from http to https generates a "cannot connect to this server" message.
After turning off SSL in Orthanc, the ImageJ plugin default settings show the Orthanc server contents.*

Note that this works properly when a proper HTTPS certificate is available (e.g. if connecting to the demo server at http://orthanc.chu.ulg.ac.be/demo/).

This problem and its solution is discussed here: http://stackoverflow.com/questions/859111/how-do-i-accept-a-self-signed-certificate-with-a-java-httpsurlconnection
Comment 1 Sébastien Jodogne 2020-06-29 15:18:53 CEST
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2016-04-15.09:13:58]

Fixed by the following changelist:
https://hg.orthanc-server.com/orthanc-imagej/changeset/d69b7a6d408e08d53946e8a0eee9da358703cccb