Thanks again. Still having trouble unfortunately.
One issue is - the orthanc https documentation page has very clear examples for testing on a local machine. When creating the ssl certificates, they advise to set the FQDM to localhost. I imagine this should be set separately when attempting to interact with a remote machine, but I am unsure how this should be changed for each server.
On each orthanc server (separate computers):
SslEnabled = true,
SslCertificate = certificate.pem (this is private key and public crt file... but is this the ssl certificate generated with "localhost" FQDM or a different name?)
I have set:
SslVerifyPeers = true
SslTrustedClientCertificates = path to certificate (this is the client certificate, but what FQDM should it have been generated with?)
HttpsVerifyPeers = false
Had originally set to true as well, but the default configuration file says that HttpsVerifyPeers should be set to false if using self-signed certificates (which I am doing, as in the example in the orthanc documentation my example).
Finally, not sure of how this changes when the client is remote and not at localhost:
{
"OrthancPeers" : {
"orthanc-b" : {
"Url" : "https://localhost:8043",
"CertificateFile" : "client-crt.pem",
"CertificateKeyFile" : "client-key.pem",
"CertificateKeyPassword": ""
}
}
}My ultimate goal is to send data from server on computer1 to server on computer2 using restAPI using https rather than http.
Thanks in advance for any information you may have.