question

Upvotes
Accepted
22 0 3 10

Unable to find valid ceritication path to requested target (RTO (Real Time Optimizid))

Hi,

I am trying to connect to rto with both the Speed guide application and java code. I get the same error in both. Error images are as follows.


speed-error.jpg


Thanks.

#technologyema-apirefinitiv-realtime-optimisedspeedguide
speed-error.jpg (70.5 KiB)
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.

java console error is as follows.

java-error2.jpg

java-error2.jpg (59.7 KiB)

I am using version "1.8.0_202" as the java version.

Hello @SelcukYAPICI

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

Upvotes
Accepted
79.2k 251 52 74

@SelcukYAPICI

According the log file, the issuer of the certificate file is CN=hmb.gov.tr.

chain [0] = [
[
  Version: V3
  Subject: CN=api.refinitiv.com, O=REFINITIV US LLC, ST=New York, C=US
  Signature Algorithm: SHA256withRSA, OID = 1.2.840.113549.1.1.11


  Key:  Sun RSA public key, 2048 bits
  modulus: 25051848246115837429544681296600530303584526036012791633977467114677035793644576755871650793499002603449939947731857631963608125721704317255213676628406140199638052480988493403654697408461919670185532837483214325993161802726371272236701614736617187529233764576122816639360564083667557750786997161868342021927612797143486760892533071576961053267939576024928578040546436840699089761520783993976188087972847805439246608959430259373523375064724671738724054487097876061434133456438465673738982601311185790663256738510230712361505847212251448213744021505021303644551077690376374345270740654103934971952641249154265647208669
  public exponent: 65537
  Validity: [From: Fri Nov 25 03:00:00 EET 2022,
               To: Sun Nov 26 02:59:59 EET 2023]
  Issuer: CN=hmb.gov.tr, OU="Bilgi  Teknolojileri Genel Mdrl?", O=T.C. Hazine ve Maliye Bakanl???, L=ankaya, ST=ANKARA
  SerialNumber: [    7535c296 dea760fe]

Typically, the issuer of api.refinitiv.com is CN=COMODO RSA Certification Authority.

 "issuer"             : "CN=COMODO RSA Certification Authority, O=COMODO CA Limited, L=Salford, ST=Greater Manchester, C=GB",

I think the issuer has been intercepted by your network servers (Proxy or Firewall) and the trustStore file (trustStore is: C:\Program Files\Java\jdk1.8.0_202\jre\lib\security\cacerts) doesn't have the certificate for CN=hmb.gov.tr. This is why it was unable to find valid certification path to requested target.

You need to contact your local IT support team to verify what the problem is.

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.

Thank you very much Jirapongse. I solved the problem by adding the institution's certificate to java.

Upvotes
79.2k 251 52 74

@SelcukYAPICI

Thank you for reaching out to us.

I can run it properly.

1695005710055.png

You can enble the debug log by using the -Djavax.net.debug=all parameter. For example:

"c:\Program Files\Java\jdk1.8.0_291\bin\java.exe" -Djavax.net.debug=all -jar SpeedGuide.jar 2> console.log

The log will be redirected to a console.log file. Please the log file when the problem occurred.


1695005710055.png (98.3 KiB)
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.

Hi @Jirapongse

The content of the log file is as follows

capture.jpg


capture.jpg (41.4 KiB)

@SelcukYAPICI

I expected to see the following information.

1695020430137.png

1695020430137.png (122.1 KiB)
Upvotes
22 0 3 10

Nothing is written to the console.log file other than what I sent. Many things are written to the application I open with cmd.exe. I share them with you in the attachment.


new 13.txt


new-13.txt (143.6 KiB)
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.

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.