title: Trust Anchor not found for Android SSL Connection
body: <p>I am trying to connect to an IIS6 box running a godaddy 256bit SSL cert, and I am getting the error :</p>
  <pre><code>java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
  </code></pre>
  <p>Been trying to determine what could be causing that, but drawing blanks right now.</p>
  <p>Here is how I am connecting :</p>
  <pre class="lang-java prettyprint-override"><code>HttpsURLConnection conn;              
  conn = (HttpsURLConnection) (new URL(mURL)).openConnection();
  conn.setConnectTimeout(20000);
  conn.setDoInput(true);
  conn.setDoOutput(true);
  conn.connect();
  String tempString = toString(conn.getInputStream());
  </code></pre>