Bug 10 - ImageJ - Cannot access an Orthanc running with a self-signed HTTPS certificate
Summary: ImageJ - Cannot access an Orthanc running with a self-signed HTTPS certificate
Status: RESOLVED FIXED
Alias: None
Product: Orthanc
Classification: Unclassified
Component: ImageJ extension (show other bugs)
Version: unspecified
Hardware: All All
: --- minor
Assignee: Sébastien Jodogne
URL:
Depends on:
Blocks:
 
Reported: 2020-06-29 15:11 CEST by Sébastien Jodogne
Modified: 2020-06-29 15:18 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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