Plugin endevor eclipse https error while adding endevor repository

Document ID : KB000121305
Last Modified Date : 29/11/2018
Show Technical Document Details
Issue:
Plugin endevor eclipse https error while adding endevor repository, error
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 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
Resolution:

This error is due to the Java's default trustStoreType.setting in the Eclipse.

There are two options to override the default trustStoreType:

1) In order to use IE/Windows truststore on Eclipse level, edit eclipse.ini and add the following line to the end:
-Djavax.net.ssl.trustStoreType=Windows-ROOT

2) You can also override default trustStoreType to be IE/Windows truststore on whole system level. Further considerations must be taken as this will be in effect for all Java applications running on the particular PC machine.
Open the Java Control Panel. Click "Java" tab and then "View..." button. Add the following runtime parameter, either on User level or System level:
-Djavax.net.ssl.trustStoreType=Windows-ROOT