# I get an SSLHandshakeException error with my Java app

**URL:** <https://community.hubspot.com/t/i-get-an-sslhandshakeexception-error-with-my-java-app/102499>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [March 13, 2024, 5:46pm UTC](https://community.hubspot.com/t/i-get-an-sslhandshakeexception-error-with-my-java-app/102499 "2024-03-13T17:46:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LCardenasA](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@LCardenasA](https://community.hubspot.com/u/LCardenasA)\
**Post date:** [March 13, 2024, 5:46pm UTC](https://community.hubspot.com/t/i-get-an-sslhandshakeexception-error-with-my-java-app/102499/1 "2024-03-13T17:46:09Z")

</div>

Hello,

I have been using for over 5 months the Hubspot API to create contacts that come from a free trial on my website. This is done via a Java App I have configured.

Everything has been working until today, that I am getting the following error when trying to run my application:

**Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target**

Please help me since I haven’t changed anything of my app.

Regards,

Lea

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 14, 2024, 4:07pm UTC](https://community.hubspot.com/t/i-get-an-sslhandshakeexception-error-with-my-java-app/102499/2 "2024-03-14T16:07:42Z")

</div>

Thanks for flagging this, @LCardenasA 👋 I had another post about this issue last week. I’ve added you to my case and reached out to the dev-rel and product team to get an answer.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![LCardenasA](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@LCardenasA](https://community.hubspot.com/u/LCardenasA)\
**Post date:** [March 14, 2024, 4:50pm UTC](https://community.hubspot.com/t/i-get-an-sslhandshakeexception-error-with-my-java-app/102499/3 "2024-03-14T16:50:00Z")

</div>

Hello Jaycee,

Thank you for the help on the matter. Please let me know as soon as possible if there is any update.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 20, 2024, 12:00am UTC](https://community.hubspot.com/t/i-get-an-sslhandshakeexception-error-with-my-java-app/102499/4 "2024-03-20T00:00:24Z")

</div>

Hey, @LCardenasA! The Dev Advocates posted an update here [https://community.hubspot.com/t5/Developer-Announcements/SSL-Certificate-Migration-Notice/m-p/944428#M639](https://community.hubspot.com/t5/Developer-Announcements/SSL-Certificate-Migration-Notice/m-p/944428#M639)

Best,

Jaycee
