Http Resolution error connecting


I’m facing an issue when building a MicroEJ Module that depends on
I get the following error:

HttpClientHandler: PKIX path building failed: unable to find valid certification path to requested target url=

However, I can open the URL (the link is valid and the TLS certificate seems to be good in my Chrome browser)

As far as I know, this build was already working in the past (I guess, beginning of this year)

Can you help me on that ?

Thanks in advance.

Hi Lucas,

Thanks for reaching us! Could you tell me which version of JRE is used by your MicroJE SDK ?

The list of the installed JREs is accessible under:
Window -> Preferences -> Java -> Installed JREs


Alex C.

Hi Alex

The JRE installed in my MicroEJ SDK is 1.8.0_66 (installed in C:\Program Files\Java\jre1.8.0_66)

Hope this can help.

Hi Lucas,

I think your JRE version is too old and its trutstore does not contain the root certificate of I suggest you to update to the latest available maintenance (u281) .


Alex C.

Yes this works fine with the latest java update.

Thanks Alex for you support.