In android I am working with RESTful API with HTTPS protocol
HttpResponse response = null;
                try {
                    HttpClient client = new DefaultHttpClient();
                    HttpGet request = new HttpGet();
                    request.setURI(new URI(UrlConnectionConstants.SCI_TA_AGENT_URL));
                    response = client.execute(request);
                } catch (URISyntaxException e) {
                    e.printStackTrace();
                } catch (ClientProtocolException e) {
                    e.printStackTrace();
                } catch (IOException e) {
                    e.printStackTrace();
                }
               return response;
resulting SSLPeerUnverifiedException.
 
    