Error of ssl certificate not trusted in Android
<p>my code is this to post data to server </p>

<pre><code>MakeValue = (String) s2.getSelectedItem();
MakeValue = MakeValue.replace(" ", "%20");
DefaultHttpClient hc=new DefaultHttpClient();
ResponseHandler res=new BasicResponseHandler();
HttpPost postMethod=new HttpPost(AppUrl.AppUrl+"dealer_service.php?action=saveCreateNewInventory");
List nameValuePairs = new ArrayList(2);
nameValuePairs.add(new BasicNameValuePair("POSTDATA", Login.GetUserID +"~"+ VinNumber.getText()
</code></pre>

<p>. . .</p>

<pre><code>postMethod.setEntity(new UrlEncodedFormEntity(nameValuePairs));

response=hc.execute(postMethod,res);
</code></pre>

<p>but after executing this i have an exception of ssl not trusted so please help me to solve my probs please help i spent too many days in this. how can i remove this exception.</p>
