Re: Certificate exception

Solved! Go to solution
sukanya
Regular Visitor

Certificate exception

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

6 REPLIES 6
API_Products
Visa Developer Support Specialist

Re: Certificate exception

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.

 

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Products
Visa Developer Support Specialist

Re: Certificate exception

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. 

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

ricardo_visa
Community Scholar

Re: Certificate exception

@sukanya - were you able to figure it out? 




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
rijo
Regular Visitor

Re: Certificate exception

@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. 

Re: Certificate exception

Can I transfer funds to my own card
ricardo_visa
Community Scholar

Re: Certificate exception

Hey @Scottantinette4 - can you share some more details? I'd like to help but not sure I have enough information yet. 




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.