Overview
An unable to find a valid certification path to the requested target error may be generated while trying to make an API request. This occurs when Java is unable to verify the certificate presented by a server in an SSL Connection.
Trusted certificates
The self-signed certificates, created by your server aren’t usually trusted by all the browsers. Java trusts certificates existing in the TrustStore (list of certificates trusted by SSL servers/Certificate authorities)
Fix certificate error
Allow the CA certificate issued by AfterShip
If the problem persists, please reach out to us at [email protected].