I'm not sure what you are asking. You make requests via HTTPS by using an HTTPS URL instead of an HTTP one.
The dialog you get in the browser usually asks you if want to accept a certificate by an unknown authority, or an expired certificate. You can change how those cases are handled by using custom socket factories, as is described in the paragraph titled "Examples of SSL customization in HttpClient".
Yes.. I can use JSSE directly. but then i decided to go with the StrictSSLProtocolSocketFactory implementation from Apache. I could run the app with this. I dowwnloaded the source and put the contrib package in my classpath and got it working.
But the problem is that in commons-httpclient.jar they dont provide this class (I checked all the versions) and I want to have the jar from the trusted source. So there should be a different jar for the contrib package of this class.
does anyone know from where can I find that jar?? I guess Apache should be providing that.