Our android app is referring to HTTP URL
to get some data from server. It was working properly till 2 days ago but suddenly we get "sslpeerunverifiedexception: no peer certificate" exception
while no changes happen neither in our code nor in server. The code is quite simple:
HttpParams httpParameters = new BasicHttpParams();
HttpConnectionParams.setConnectionTimeout(httpParameters, 12000);
HttpConnectionParams.setSoTimeout(httpParameters, 12000);
HttpClient client = new DefaultHttpClient(httpParameters);
HttpGet request = new HttpGet("http://site.com");
HttpResponse httpResponse = client.execute(request);