'SSL Certificate Issue (PKIX path building failed)
We have an application that tries to connect via SOAP to a third-party application. Last Tuesday, their SSL Certificate expired and they just renewed it again.
However, our code still could not access their endpoint. We still get this error:
System.CalloutException: IO Exception: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Now we continued to investigate the issue and here is what we found.
On the actual site (format: https://sample-site123.com), there is no issue. The certificate says the site is secure.
However, when we try to access the endpoint (format: https://sample-site123.com/_ws/ActionSample.asmx?op=ActionSample) given to us, this is what we see:
This is the first time that we've encountered this issue.
Was the certificate not properly configured? I just want to be sure that the issue is on the endpoint site before I tell the devs in the third-party application that the issue is on their side.
This is the only clue that we got.
Any help is very much appreciated. Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


