title: Unable to connect to GitHub within Eclipse due to SunCertPathBuilderException: certificate not found
body: <p>I have setup my mac with Eclipse EE Luna and all seem to work fine (coming from Windows).</p>
  
  <p>I installed EGit and the Github (Mylin) plugin.</p>
  
  <p>However, I can't seem to clone a github project in Eclipse. 
  When using the eclipse import through EGit (not the gitHub plugin), and fill in the Https uri (of any opensource github project), Egit complaints it can't connect and shows a bullet list with possible causes like Uri incorrect, etc..</p>
  
  <p>When using the Eclipse Github plugin to import a github project and let the plugin search I get the famous trusted certification error:</p>
  
  <pre><code>Error searching repositories: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  </code></pre>
  
  <p>Strange... I have a default java 8 installation. 
  I even added the github pub cert to the jssecert file in the sdk/jre/lib, but had no effect.
  I have no proxy enabled, neither in Eclipse or system.</p>
  
  <p>I am able to clone a repo through the git command "git clone [https repo uri]".</p>
  
  <p>How to solve this?</p>