Getting Certificate error while trying post request from CPI to Hubspot

contacts

#1

Dear Experts,

We are trying to update the contact in Hubspot by posting the API through SAP CPI.

We are getting the certificate chain error as below. We have downloaded certificate from client Hubspot tenant as well https://developers.hubspot.com and imported in SAP CPI key store. Could you please let us know if we are missing something.

javax.net.ssl.SSLHandshakeException: General SSLEngine problem, cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested

Thanks & Regards
Vijay SB


#2

Hi @Vijaysb,

This most often occurs when your root CA becomes out of date. You can see the HubSpot API's certificate chain below; you'll need to make sure that root CA is installed and up to date in your system.

https://www.digicert.com/help/?host=api.hubapi.com