How to resolve SunCertPathBuilderException: unable to find valid certification path to requested target
TL;DR JRE’s cacerts might not have the Certification Authority (CA) certificate to validate the CA that issued the certificate of the host you are calling. If so, add it. Problem I was trying to access an external API endpoint and unfortunately, it failed with the following error message. Since it Read more…