title: PKIX path building failed in Eclipse
body: <p>i'm working with Liferay and i'm using eclipse, and running a client/server model, using an encrypted socket (SSL). </p>
  
  <p>Currently, my application is running the client/server connection ok when I run the application in batch mode but when i try to start the server in Eclipse the application is giving me error</p>
  
  <pre><code>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)
  </code></pre>
  
  <p>I already use the InstallCert.java and copy the jssecacerts into </p>
  
  <blockquote>
    <p>%JAVA_HOME%/jdk_version/jre/lib/security</p>
  </blockquote>
  
  <p>but is still giving me errors. I've also checked the certificate (keytool -v -list) and installed manually in the root CAs trusted. What can be the problem? Thanks!</p>