Michael,
Could you please post a code snippet showing how the HttpMethod is
instantiated and executed?
Oleg
On Thu, Jul 28, 2005 at 05:52:30PM -0400, Michael Clovis wrote:
> I am maintaining an application that is using HTTPClient 2.0.2 and one clas=
> s extends HttpClient in particular ( one reason for not upgrading to 3x). N=
> eed to support SSL and have started to test code using self-signed certs. M=
> ade sure through Apache the servlet the application accesses can not be acc=
> essed other than through SSL and wire info reads that the header informatio=
> n can be seen yet when method is sent to servlet get a 401. Furthermore doi=
> ng tcpdumps reveal app never ran on port 443 but port 80. Am using simple p=
> aradigm (as in example code) of :
>
> StrictSSLProtocolSocketFactory sf =3D new StrictSSLProtocolSocketFactory()=
> ;
> =20
>
> Protocol stricthttps =3D new Protocol( "https", sf, 443);
> Protocol.registerProtocol("https",stricthttps);
> // du is client instance du.getHostConfiguration().setHost(this.hostname.ge=
> tText().trim(),443,stricthttps)
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]