title: How do I use the command: HttpEntity?
body: <p>I wish to settle my long term problem by this question and hope you guys would help, but firstly; I have been having issues to connect to a HTTPS self-signed certificate server for almost 3 weeks. Despite the multiple solutions here, I cannot seem to resolve my problem. Probably I did not know how to use it properly or did not have some files or imported the correct libraries. </p>
  
  <p>I came across some websites that requires me to download a certificate from the https site that I am trying to connect into, and when I did that. I have to do the some steps before I can use the certificate or keystore that I created. I got this solution from this website:</p>
  
  <p><a href="http://blog.antoine.li/2010/10/22/android-trusting-ssl-certificates/" rel="nofollow">Android: Trusting SSL certificates</a></p>
  
  <pre><code>// Instantiate the custom HttpClient
  DefaultHttpClient client = new MyHttpClient(getApplicationContext());
  HttpGet get = new HttpGet("https://www.mydomain.ch/rest/contacts/23");
  // Execute the GET call and obtain the response
  HttpResponse getResponse = client.execute(get);
  HttpEntity responseEntity = getResponse.getEntity();
  </code></pre>
  
  <p>I have a problem, after the last line, as stated above. What do I do with the responseEntity? How do I use it if I wish to display the https website on a WebView? Some help and explanation would be nice :)</p>