I\'m using Apache HttpComponents HttpClient(4.0.1) to make a HTTPS call, but I\'m this exception as the response:
javax.net.ssl.SSLPeerUnverifiedException: peer
Make sure that the server URL is supposed to use https instead of http. You can get this error trying to set up a secure connection to an http URL.