An "unable to find valid certification path to 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 SSL Connection.

🔒 Trusted Certificates

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
Was this article helpful?
Thank you!