Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Eclipse Mars system.setproperty javax.net.ssh.truststore not working anymore ?

Hi Devs 

I am trying to connect to a web server using SSL connection through an eclipse plugin developed by us.Since the server uses a self signed certificate , I am making use of the following code to set the trust store path :

System.setProperty("javax.net.ssl.trustStore", path);

     

    System.setProperty("javax.net.ssl.trustStorePassword", "wso2carbon123");

     

    System.setProperty("javax.net.ssl.trustStoreType","JKS");


    *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.*

This plugin worked in eclipse Luna without any issue ,  Any thought please ? 

Also notice that this issue has been raised before in Eclipse forum and stack overflow but nobody answered  

Thanks and Regards
/Jasintha 

--
Thanks & Regards

Jasintha Dasanayake
WSO2 Inc

mobile +94 (0)71 624 1368 ,


Back to the top