Reputation: 655
I am trying to install movilizer plugin for Eclipse.
Still,after adding StartCom Certificate still i am facing these issue- I am having troubles installing the Movilizer eclipse plugin
Unable to read repository at https://devtools.movilizer.com/eclipseUpdateSite46/content.xml. Unable to read repository at https://devtools.movilizer.com/eclipseUpdateSite46/content.xml. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Any idea how to solve this issue
Upvotes: 1
Views: 308
Reputation: 81
Instead of installing "Eclipse IDE for Java Developers" try "Eclipse IDE for Java EE Developers". I just had the same issue on my Mac.
Then try this:
cd $JAVA_HOME/jre
sudo keytool -import -trustcacerts -keystore lib/security/cacerts -storepass changeit -noprompt -alias mycert -file /Users/coolik/Downloads/ca-cross-g2.crt
Worked for me, hope for you as well.
Upvotes: 0
Reputation: 1377
You need to your network root certificate to your jre cacerts which eclipse is using.Refer this link for very detailed steps. Confirm your eclipse is using very same jre in which you are adding ssl certificate.
take care of following points
Upvotes: 0
Reputation: 608
sun.security.validator.ValidatorException: PKIX path building failed:
this is exactly the SSL problem following link is addressing: I am having troubles installing the Movilizer eclipse plugin
If you correctly import the certificate into your JRE it can require a restart of eclipse to work. Another potential problem comes up when you have several JRE versions installed. Please also note that a JDK installation also contains a JRE folder with a certificate store. You need to make 100% sure that you add the certificate to the correct store. If you are in doubt which version you need to add it to .... add it to all of them.
Upvotes: 0