Using HttpClient, I receive the following error when attempting to communicate over HTTPS:
Exception in thread "main" javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated.
Here is my code:
URI loginUri = new URI("https://myUrl.asp");HttpClient httpclient = new DefaultHttpClient();HttpGet httpget = new HttpGet( loginUri );HttpResponse response = httpclient.execute( httpget );How do I suppress or remove this error?