javax.net.ssl.sslpeerunverifiedexception sin certificado de igual
Estoy tratando de insertar un registro en MySQL mediante la publicación de datos en un servidor PHP desde una aplicación de Android. He agregado el permiso de INTERNET a AndroidManifest.xml
yo obtengojavax.net.ssl.SSLPeerUnverifiedException: No peer certificate
Código de Android
private void senddata(ArrayList<NameValuePair> data)
{
try
{
HttpClient httpclient = new DefaultHttpClient();
HttpPost httppost = new HttpPost("https://10.0.2.2/insert222.php");
httppost.setEntity(new UrlEncodedFormEntity(data));
HttpResponse response = httpclient.execute(httppost);
}
catch (Exception e) {
// TODO: handle exception
Log.e("log_tag", "Error: "+e.toString());
}
}
¿Alguien puede ayudar?