Hello,

>    Protocol myhttps = new Protocol("https",new 
> EasySSLProtocolSocketFactory(), 443);
>    httpClient.getHostConfiguration().setHost("xxx.xxx.com", 443, 
myhttps);
>    int responseCode = httpClient.executeMethod(postMethod);

This will only work if you are using _relative_ URLs like
"/" or "/index.html". Register your protocol as the default
handler for https, as described in the SSL guide.

hope that helps,
  Roland
 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to