Visa Developer Community

Highlighted
Newbie

two way SSL failure

Hi Team , 

Getting following error in my java application which is deployed in weblogic server , and when i try to run the Jar as standalone i'm able to receive response.

I'm running TestQueryProfile.java from the given samplecode-JAVA-4cdb47 , i have setup confirguration.properties properly. 

 

below the error while running the app from weblogic server

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

6 REPLIES 6
Visa Dev Moderator

Re: two way SSL failure

Hi @mohanrajras,

 

To further investigate, please provide the following information:

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

 

 

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

Thanks,
Diana

Regular Visitor

Re: two way SSL failure

I have the same problem with API VRM
Visa Dev Moderator

Re: two way SSL failure

Hi @developervrm,

 

Can you please confirm if the issue is resolved or if the problem persists?  

                           

 

 

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

Thanks,
Diana

Re: two way SSL failure

Hi, I'm facing the same issue. While running the test cases for Payment Account Validation api.

If anyone's solved this issue please respond.

Tags (1)

Re: two way SSL failure

Hi,

I resolved this issue by adding 'DigiCert Global Root CA' certificate into the client keystore, i.e. now it has private key+(public key + certificate) + vdp sandbox cert. + digi cert root ca. So, we need to add the global root ca to the client keystore instead of doing it by setting server.ssl.* properties or adding it to the cacerts of jre.

Visa Dev Moderator

Re: two way SSL failure

Hi @swaritsharma,

 

Thanks for sharing with the Visa Developer community on how you are able to resolve the PAV issue!

 

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

Thanks,
Diana