I got this error on Android SDK 1.1 on HTTPS connections.
java.io.IOException: Hostname <www.verisign.com> was not verified
To Fix it, just include this code bellow:
URL aURL = new URL(url);
HttpsURLConnection conn = (HttpsURLConnection) aURL.openConnection();
conn.setHostnameVerifier( new HostnameVerifier() {
public boolean verify( String hostname, SSLSession session ) {
return true;
}
});conn.connect();
Enjoy!!