Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • ETA /
avatar image
Question by Chun Kit Wan · Sep 22, 2020 at 03:36 AM · elektronrefinitiv-realtimeelektron-sdkrrteta-apielektron-transport-apiADS

Enabled ADS server encryption - but fail to connect from ETA


Got the following error. ADS is using self-signed Cert. How can ETA by-pass the checking? Thanks

I am able to connect by using EMA JAVA with keystore file/password


Creating RSSL connection Host: localhost Port: 14002

rsslInitChannel() returned -1, Error </local/jenkins/workspace/TREP34XCore_Release/OS/OL7-64/esdk/source/esdk/Cpp-C/Eta/Impl/Transport/ripcsslutils.c:1033> Error: 2002 Certificate validation error. OpenSSL Return code: self signed certificate


People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

3 Replies

  • Sort: 
avatar image
Best Answer
Answer by Chun Kit Wan · Sep 23, 2020 at 10:43 AM

Hi All,

Just resolved the issue I have on EMA CPP C112 window version.

Firstly, have to install the cert into the window OS. (certmgr/certlm)

Secondly, need to make sure that the lib/dll and the cert path are provided

D:\Users\kit\Documents\EMA>Cons112.exe -I EUR= -S ELEKTRON_DD -U radmin -C Consumer_3 -sslCAStore .\\kit1.cert.v2.crt -libsslName .\\libssl-1_1-x64.dll -libcryptoName .\\libcrypto-1_1-x64.dll


Issue resolved fianlly

Comment
umer.nalla

People who like this

1 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
umer.nalla ♦♦ · Sep 23, 2020 at 11:29 AM 0
Share

Thanks for posting the solution!

avatar image
REFINITIV
Answer by umer.nalla · Sep 23, 2020 at 09:30 AM

Hi @Chun Kit Wan

Looking at the information you have provided - it looks like you are trying to connect to an ADS server running locally i.e. localhost:14002 ?

Also, I am not an expert on ADS configuration so not entirely sure what you mean by ADS Server encryption. However, I did find the following mentioned in the ADS 3.4.1 WhatsNew pdf file under 3.4.1 bug fixes:

Certificate checks when enabling encryption in 3.4.0 not allowing connection.

• TREP-2751

• Case 08372622

When enabling encryption on the route, the connection is failing in 3.4.0 reporting a certificate error indicating no subject name match in the host certificate's alternate name list. Reason for the failure is that the ADH always uses the IP address on the connection instead of the hostname. Previous workaround which is no longer needed is to include the host IP address in the alternate name list when generating

Therefore, if your issue is related to encryption on the route - then I recommend you check out ADS version 3.4.1 and upgrade if appropriate. If you continue to have issues, I suspect your best route would be to raise a ticket with the ADS help desk OR ask on the internal Realtime Delivery channel, Technical Interest group.

I would also recommend you refer to the ETA Quickstart here on our Developer Portal to ensure you are correctly setup and configured etc from an ETA point of view.


Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by Chun Kit Wan · Sep 23, 2020 at 10:09 AM

Hi Umer,

Thanks for replying. Actually, I fix the issue finally.

EMA JAVA - training sample code Con112 - working as expected without any issues on both Window and Linux Platform

EMA CPP - Linux - training sample code Con112 - if we would like to fix the encrypted connection, we have to add this into Con112

  1. Need to add a parameter config.sslCAStore to specify the cert from the ADS server
  2. Need to make sure that "Host" - have to put the same FQDN in the EmaConfig.xml and matched with the hostname stored in the "cert"


However, I still cannot solve the EMA CPP - WINDOW version. Window version of EMA CPP Con112 - have the same setting as Linux, Linux Con112 is working but not window Con112. Will continue to look into it.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

simulating source directory group filter using sink driven source and/or ADS

ETA (Java) - Login example using DACS id

ETA Partial Updates on Quotes

How to know when BDS (SymbolLists) are available after Elektron Server reboot

Anyone use ESDK to get gold price?

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges