title: HttpGet with HTTPS : SSLPeerUnverifiedException
body: <p>Using <a href="http://hc.apache.org/httpcomponents-client/" rel="noreferrer">HttpClient</a>, I receive the following error when attempting to communicate over HTTPS:</p>
  
  <blockquote>
    <p>Exception in thread "main" javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated.</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>URI loginUri = new URI("https://myUrl.asp");
  
  HttpClient httpclient = new DefaultHttpClient();
  HttpGet httpget = new HttpGet( loginUri );
  HttpResponse response = httpclient.execute( httpget );
  </code></pre>
  
  <p>How do I suppress or remove this error?</p>