Connect error for session1:com.neovisionaries.ws.client.HostnameUnverifiedException: The certific...

...ate of the peer does not match the expected hostname (us-east-1-aws-3-sm.optimized-pricing-api.refinitiv.net)

Hello,


I was connecting to Cloud RTO 2 using Java. Yesterday afternoon, despite not changing anything related to the connection and being told by the network staff that nothing was modified, I started encountering the following error.


javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


I downloaded the certificate from `api.refinit.com:443` using OpenSSL. After adding this certificate to the Java `cacerts`, I am now getting this error. I wonder where the problem lies. Why was I able to send requests of type "ric" and receive values until yesterday afternoon without any issues, but now I am getting an error?


Connect error for session1:com.neovisionaries.ws.client.HostnameUnverifiedException: The certificate of the peer does not match the expected hostname (us-east-1-aws-3-sm.optimized-pricing-api.refinitiv.net)


Thank you in advance for your assistance.

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.