CommandDispatcher.cpp:284 - Receiving Association failed: TLS error: unexpected eof while reading

I am trying to set up a TLS connection with Orthanc, but I am getting the error below.

Here’s my DICOM configuration. Do the certificate and private key files need to have a .pem extension?

ORTHANC__DICOM_TLS_ENABLED: 'true',
ORTHANC__DICOM_TLS_CERTIFICATE: '/certs/server.crt',
ORTHANC__DICOM_TLS_PRIVATE_KEY: '/certs/server.key',
ORTHANC__DICOM_TLS_TRUSTED_CERTIFICATES: '/certs/trusted_certificates.crt',
ORTHANC__DICOM_TLS_REMOTE_CERTIFICATE_REQUIRED: 'false',
ORTHANC__USE_DICOM_TLS: 'false',

Hello,

Just a quick check and apologies if it’s obvious : I once received this error because I mismatched the ports.

Are you certain you’re not trying to send HTTPS requests to the DICOM port, or the opposite?

Hi Benjamin, thanks for the response.

I am trying to setup TLS connection with DICOM.