posted 9 years ago
When you change the javax.net.ssl.trustStore file, please add below code before you send https request:
SSLContext sslContext = SSLContext.getInstance("SSL");
sslContext.init(null, null, null);
HttpsURLConnection.setDefaultSSLSocketFactory(sslContext.getSocketFactory());
I try it with jdk7 and the result is ok