Hi Team,
I am trying to connect to new FX Rates API but getting certificate error all the time. Could you please help here:
org.springframework.web.client.ResourceAccessException:
I/O error on POST request for "https://sandbox.api.visa.com/fx/rates/markup": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Sukanya
Solved! Go to Solution
Hey @sukanya,
I'm happy to help resolve your issue. To move forward, can you please provide the follow information:
1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body
Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.
Hey @sukanya,
I’m following up to let you know that we have reached out to you previously but have not heard back. Free to reach out to us if you are interested in working together in the future.
@sukanya - were you able to figure it out?
@ricardo_visa I am also getting unable to find valid certification path to requested target exception when I am trying to connect "https://sandbox.api.visa.com/fx/rates/markup" from sample java code example given. I am using the generated the keystore(.p12) from project certificate and private key.
Note : I am able to connect to the above url using POSTMAN.
Hey @Scottantinette4 - can you share some more details? I'd like to help but not sure I have enough information yet.