I don't know, but I bet modifying HttpClient to ignore the cert would be pretty easy.
posted 12 years ago
Solution: It's necessary to implement own TrustManager which can be e.g. dummy trust manager ignoring all or manager which will do necessary logic... This trust manager should be registered in SSLContext class using init method. Connection must be done using socket created from SocketFactory returned from initialized SSLContext instance. When using HttpsUrlConnection it's simpler, you only have to initialize SSLContext.