We are using AIM integration to submit transactions to authorize.net gateway. We have custom-written Java code that initiates SSL connection to the gateway. This integration had been working for a few years now without issues but recently we started to get intermittent SSL handshake errors - sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Is this indication that certificate is not found in the local keystore? (strange that this is intermittent) which exact certificate should be there, one from https://secure.authorize.net ?
thanks for your help
โ10-09-2012 02:21 PM
Not familiar with Java. But if it failing to connect to AIM the url is https://secure.authorize.net.
It do sound like the cert keystore need to be updated.
โ10-09-2012 04:12 PM
You mention this happens irregularly. About what frequency of the time does this occur?
Also, do you have a stack trace for the times it does occur?
You may find this information useful--it provides a Java program that connects to a secure URL, and if the SSL session fails because of an inability to find a valid certification path, the program will then help you install the needed certificate.
https://blogs.oracle.com/gc/entry/unable_to_find_valid_certification
But even if the program helps you, I would really like to see the stack trace--which the program helpfully provides--and get an idea of how often this happens. Thanks.
โ10-10-2012 09:38 AM