Http Resolution error connecting repository.microej.com

Hi,

I’m facing an issue when building a MicroEJ Module that depends on https://repository.microej.com:
I get the following error:

HttpClientHandler: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repository.microej.com/5/artifacts/com/google/protobuf3/1.0.0/ivy-1.0.0.xml

However, I can open the URL https://repository.microej.com/5/artifacts/com/google/protobuf3//1.0.0/ivy-1.0.0.xml (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.
Lucas

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

Regards,

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 repository.microej.com. I suggest you to update to the latest available maintenance (u281) .

Regards,

Alex C.

Yes this works fine with the latest java update.

Thanks Alex for you support.