Search found 26 matches

by amal.jesudas
Wed, 2021-06-02, 08:25
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 472

Re: Secure Connection issue

Thanks Marco for the help.
Will include this modification in our code.

Regards,
Amal
by amal.jesudas
Fri, 2021-05-28, 06:34
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 472

Re: Secure Connection issue

Thanks Marco for confirming the same I tried by adding the below fix suggested by you in DcmTLSTransportLayer::DcmTLSTransportLayer OFRandom rnd; Uint32 session_id = rnd.getRND32(); if (0 == SSL_CTX_set_session_id_context(transportLayerContext, OFreinterpret_cast(const unsigned char *, &session_id),...
by amal.jesudas
Mon, 2021-05-24, 10:48
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 472

Re: Secure Connection issue

Thanks Marco for the reply. I tried adding the below fix suggested by you in dcmtk 3.6.5 source in DcmTLSTransportLayer(T_ASC_NetworkRole networkRole, const char *randFile, OFBool initOpenSSL) + // set a random 32-bit number as TLS session ID + OFRandom rnd; + Uint32 session_id = rnd.getRND32(); + i...
by amal.jesudas
Thu, 2021-05-20, 19:04
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 472

Re: Secure Connection issue

Thanks Marco for the reply. I forgot to mention that I am using dcmtk version 3.6.5 in my earlier query. I could not find the setBuiltInDHParameters() function inside the source. Still I tried adding the below code to DcmTLSTransportLayer::DcmTLSTransportLayer(T_ASC_NetworkRole networkRole, const ch...
by amal.jesudas
Thu, 2021-05-20, 14:52
Forum: DCMTK - General
Topic: Secure Connection using storescp-tls.exe fails through multiple association
Replies: 2
Views: 174

Re: Secure Connection using storescp-tls.exe fails through multiple association

For the benefit of others:
As mentioned by Marco, the discussion will continue in the below thread:
https://forum.dcmtk.org/viewtopic.php?f=1&t=5092

Regards,
Amal
by amal.jesudas
Thu, 2021-05-20, 14:47
Forum: DCMTK - General
Topic: Combine two data sets
Replies: 2
Views: 118

Re: Combine two data sets

Thanks Michael.
The importHierarchy() methods of DcmIODCommon does not seem to fit my need.
As you mentioned, I guess I will have to loop through all elements and copy them.

Regards,
Amal
by amal.jesudas
Thu, 2021-05-20, 08:13
Forum: DCMTK - General
Topic: Combine two data sets
Replies: 2
Views: 118

Combine two data sets

Hi,

Is there any API in dcmtk that helps us to combine two data sets (DcmDataset) directly?
Thanks in advance.

Regards,
Amal
by amal.jesudas
Mon, 2021-05-17, 07:49
Forum: DCMTK - General
Topic: Secure Connection using storescp-tls.exe fails through multiple association
Replies: 2
Views: 174

Secure Connection using storescp-tls.exe fails through multiple association

When sending multiple files from DVT to SCP (storescp-tls.exe) the second association fails Please find the error log at SCP side below: storescp-tls.exe 2500 -v +tls privaytekeyV2021DVT001.pem certificateV2021DVT001.pem +cf certificateV2021DVT003.pem I: Association Received I: Association Acknowled...
by amal.jesudas
Mon, 2021-05-03, 04:57
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 472

Secure Connection issue

Hi, Observed an issue for secure communication. When sending data through multiple association in a single session, serverSideHandshake() fails for the second association (Secure Connection). (*association)->connection->serverSideHandshake())) from dul.cc returned below error " Could not receive ass...
by amal.jesudas
Mon, 2021-04-12, 10:27
Forum: DCMTK - General
Topic: TLS v1.3 support issue
Replies: 5
Views: 437

Re: TLS v1.3 support issue

Normally there should not be the need to limit the TLS version. The TLS versions and ciphersuites negotiated are defined in profiles in DICOM part 15. You select a profile and DCMTK will do the right thing. The "Extended BCP 195 TLS Profile" will only negotiate TLS 1.2, whereas the default "BCP 195...
by amal.jesudas
Wed, 2021-04-07, 08:34
Forum: DCMTK - General
Topic: TLS v1.3 support issue
Replies: 5
Views: 437

Re: TLS version support

Just as a note to help people facing similar issues due to TLSv1.3 support, the above proposed solution works. I modified tlslayer.cc to add a new API to set max proto version. In our case, we set max proto version directly to TLS1_2_VERSION instead of passing as parmeter to API. DcmTransportLayerSt...
by amal.jesudas
Thu, 2021-04-01, 08:31
Forum: DCMTK - General
Topic: TLS v1.3 support issue
Replies: 5
Views: 437

Re: TLS version support

Does this commit (from May 2019) solve your issue? Hi Jörg, I was just scrolling through the commit you mentioned. As per initial impression the flag "tls13_enabled" could do the trick for us. In tlslayer.cc, SSL_CTX_set_max_proto_version() API is called to set TLSv1.2 as maximum version if tls13_e...
by amal.jesudas
Mon, 2021-03-29, 09:08
Forum: DCMTK - General
Topic: TLS v1.3 support issue
Replies: 5
Views: 437

TLS v1.3 support issue

Hi, Recently I observed a case where TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 was set at the client side (SCU) but the client hello message listed below cipher suites: TLS_AES_256_GCM_SHA384 TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_GCM_SHA256 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 This occurred when the...
by amal.jesudas
Tue, 2020-05-05, 13:07
Forum: DCMTK - General
Topic: EXTENDED BCP195 TLS PROFILE
Replies: 2
Views: 875

Re: EXTENDED BCP195 TLS PROFILE

Thanks Marco for clarifying the same.

Regards,
Amal
by amal.jesudas
Wed, 2020-04-22, 15:18
Forum: DCMTK - General
Topic: EXTENDED BCP195 TLS PROFILE
Replies: 2
Views: 875

EXTENDED BCP195 TLS PROFILE

Hi, We are planning to upgrade our current dcmtk version to latest 3.6.5. However while checking the TLS related implementations, it was seen that 3.6.5 supports EXTENDED BCP195 TLS PROFILE. But, not all ciphers suites mentioned in DICOM Sup 206 is seen to be supported. https://www.dicomstandard.org...