Environment : 2 x Ubuntu 16.04.6 servers running under VirtualBox, Orthanc ApiVersion 5 using MySQL plugin
I’m testing an Orthanc server (“ORTH-A” and thinking that this would be a “front end” server that modalities would send to) and it’s peering with another Orthanc server (“ORTH-B” back end server), using the (excellent) online documentation.
ORTH-B* has been installed behind an Apache reverse-proxy (“/TEST/”), Apache configured with a self signed (no password required) certificate as I’m still in a dev environment and there’s a chance that this server would not be on the same network as ORTH-A. To ensure that the reverse-proxy on ORTH-B is working correctly, I can browse to https://ORTH-B_IP/TEST/ and I get the prompt to log into the Orthanc Explorer, which I can successfully do. I configure the API credentials that ORTH-A is going to connect to ORTH-B with, and test them against the Orthanc Explorer and once again, I get logged in.
I now jump onto ORTH-A and configure it with the following (the self-signed files were downloaded from ORTH-B and the CertificateFile confirmed as being in PEM format**)
`
…
“OrthancPeers” : {
“ORTH-B” : {
“Url” : “https://ORTH-B_IP/TEST/”,
“Username” : “ORTHA”,
“Password” : “ORTHAPASSWORD”,
“CertificateFile” : “self-signed.pem”,
“CertificateKeyFile” : “self-signed.key”
}
},
…
`
Restarting Orthanc and then testing (through postman, configured to ignore self signed certificate verification) what peers it’s configured with (using API call /peers?expand) I certainly see the ORTH-B peer with it’s details (Password is null which I presume to be correct and for security purposes).
{
“ORTH-B”: {
“CertificateKey”: “self-signed.pem”,
“HttpHeaders”: ,
“Password”: null,
“Pkcs11”: false,
“Url”: “https://ORTH-B_IP/TEST/”,
“Username”: “ORTHA”
}
}
All well, so far. Now (as per the documentation) I can use a call to test connectivity to that peer (using API call /peers/ORTH-B/system) without actually sending DICOM (nice!) but it fails with:
{
“Details” : “libCURL error: Problem with the SSL CA cert (path? access rights?)”,
“HttpError” : “Internal Server Error”,
“HttpStatus” : 500,
“Message” : “Error in the network protocol”,
“Method” : “GET”,
“OrthancError” : “Error in the network protocol”,
“OrthancStatus” : 9,
“Uri” : “/peers/ORTH-B/system”
}
BTW : when I try (in postman and through a browser) to check https://ORTH-B/TEST/system, I get the expected response.
If it helps, U16-04.6 uses curl 7.47.0 although I’m not sure that Orthanc is likely to use what’s installed on the system, rather the library it’s been compiled with. I’ve also gone through adding this self signed certificate using this SO post to both servers but still no joy.
I’m now at a loss as to why I’m getting this error message. Any guidance from anyone??
Kindest regards,
Dave