question

Upvotes
Accepted
37 3 3 5

TLS version Elektron Zero Daemon

Is there a way to configure which version of TLS the Elektron Zero Daemon is using for connections over the internet? I have EZD version 1.2.1.L1. By default it appears to be using TLS v1.0.

------------

Edit:

We are running on Linux, and the OpenSSL version that we have is: OpenSSL 1.0.1e-fips 11 Feb 2013

This is also the version listed in the EZD Install documentation. I believe this version should support TLSv1.2. However, when we run EZD it is defaulting to v1.0.

I get the following error in ezd.log:

Text: <Impl/ripcsslutils.c:932> ripc11SSLInitConnection error on SSL_connect SSL Error: 1 retVal: 0 errno: 0 93727:error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure:s3_pkt.c:1275:

When I just connect to the endpoints with the same version of openssl, it defaults to TLSv1.2 and returns the server certificate.

openssl s_client -connect amers1.streaming-ec.cp.thomsonreuters.com:443
...
SSL-Session:
    Protocol  : TLSv1.2
...
refinitiv-realtimeelektronelektron-sdktls
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
37 3 3 5

EZD 1.2 appears to be hardcoded to use TLSv1.0 (at least the Linux release). It appears to call "TLSv1_client_method(void)". The OpenSSL docs recommend using the general-purpose TLS_client_method(void) which allows the client/server to negotiate on the highest version supported by both client and server.

We had to update to EZD 1.3 which does support TLSv1.2.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
4.4k 10 6 9

Hi @bill.harding

EZD use either OpenSSL (Linux) or WinInet (Windows) to perform TLS security.

If you are on Linux, then please check the OpenSSL version.

If you are on Windows, then verify that TLS1.2 is set in Control Panel > Internet Options > Advanced > Security settings.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks @Warat B.

We are running on Linux, and the OpenSSL version that we have is: OpenSSL 1.0.1e-fips 11 Feb 2013

This is also the version listed in the EZD Install documentation. I believe this version should support TLSv1.2. However, when we run EZD it is defaulting to v1.0. Any help would be appreciated.

@bill.harding

EZD will load the OpenSSL lib from libssl.so.10

So, make sure that your /usr/lib64/libssl.so.10 link is linked to the latest OpenSSL lib.

Otherwise, you can specify the OpenSSL lib name in ezd.cnf file. The parameter is:

*ezd*libNameOpenSSL

@Warat B.

I am fairly certain the problem is not with EZD finding the OpenSSL library. My /usr/lib64/libssl.so.10 is linked to the same version of the library that we have installed.

bash-4.1$ ls -al /usr/lib64/libssl.so.10
lrwxrwxrwx 1 root root 16 Jan 20 04:27 /usr/lib64/libssl.so.10 -> libssl.so.1.0.1e

Anyway, we are able to connect to the Thomson Reuters endpoints with EZD, but it uses TLSv1.0 when it connects. I am trying to figure out how to get EZD to use TLSv1.2.

When I connect ONLY using OpenSSL, it does connect to the TR endpoints with TLSv1.2.

Does EZD not support TLSv1.2?

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.