10-09-2012 02:21 PM
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 04:12 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-10-2012 09:38 AM
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.
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.