AW: Proxied SSL connection

2003-08-14 Thread Ulrich Freyer-Hirtz
>Ulrich, > >You are trying to use a normal HTTP server as if it were a proxy. Of course, that >cannot work. >The server is absolutely correct about rejecting the request as syntactically >incorrect (status code 400) You're right. I've had a look into the Http.confs. On the Server are to Apache

RE: AW: Proxied SSL connection

2003-08-14 Thread Kalnichevski, Oleg
>What's the conventionell way ? Just thought, that I have to login to the Proxy to >come in > contact with the server behind. Sure. What is not really conventional is to use SSL to connect the a proxy. Usually an HTTP agent connects to a proxy using regular (plain) HTTP and then uses that conn

AW: AW: Proxied SSL connection

2003-08-14 Thread Ulrich Freyer-Hirtz
>>What's the conventionell way ? Just thought, that I have to login to the Proxy to >>come in >> contact with the server behind. >Sure. What is not really conventional is to use SSL to connect the a proxy. Usually >an HTTP agent >connects to a proxy using regular (plain) HTTP and then uses tha

AW: Proxied SSL connection

2003-08-14 Thread Ulrich Freyer-Hirtz
[DEBUG] wire - -<< "Content-Type: text/html; charset=iso-8859-1[\r][\n]" > > Please contact your network administrator to find out what port the proxy server is > listening on > > Oleg > > > -Original Message- > From: Ulrich Freyer-Hirtz [mailto

Re: AW: Proxied SSL connection

2003-08-14 Thread Michael Becke
Ulrich Freyer-Hirtz wrote: You're right. I've had a look into the Http.confs. On the Server are to Apache installation. One runs as Proxie and uses SSL. The other is a Webserver without SSL. So now I've to figure out, how to set the HttpClient Host and Proxy. and where to use my "workaround-for-sel

Re: AW: Proxied SSL connection

2003-08-14 Thread Oleg Kalnichevski
On Tue, 2003-08-05 at 18:07, Michael Becke wrote: > Ulrich Freyer-Hirtz wrote: > > You're right. I've had a look into the Http.confs. On the Server are > > to Apache installation. One runs as Proxie and uses SSL. The other is > > a Webserver without SSL. So now I've to figure out, how to set the >

AW: Proxied SSL connection

2003-08-14 Thread Ulrich Freyer-Hirtz
>> One thing I can't understand, is, where is the place for the customized >> SSL-negotiation ? Is it in the class >> "EasyX509TrustManager(null)" and where can I find that class or an example ? The >> example "EasySSL..." from the >> documentation doesn't compile without such EasyX509TrustManage

Re: AW: Proxied SSL connection

2003-08-11 Thread Christian Sell
Kalnichevski, Oleg wrote: What's the conventionell way ? Just thought, that I have to login to the Proxy to come in contact with the server behind. Sure. What is not really conventional is to use SSL to connect the a proxy. Usually an HTTP agent connects to a proxy using regular (plain) HTTP and

AW: Proxied SSL connection

2003-08-11 Thread Ulrich Freyer-Hirtz
>By default, JSSE only supports SSL certs that are signed by Verisign, >Thawte and a few others. Self-signed certs (I'm guessing this is what >you are using) require the custom SSLProtocol workaround. > >Mike First, thanks for the help. I went some steps further, but have not reached the target

AW: AW: Proxied SSL connection

2003-08-07 Thread Ulrich Freyer-Hirtz
>I am afraid things are a bit more complicated than that. HttpClient >always uses a plain socket to establish connection with a proxy. As far >as I understand so do IE & Mozilla. I think what Ulrich is trying to do >is to connect to the proxy using SSL, which is quite unconventional I >have to say.

Re: AW: Proxied SSL connection

2003-08-06 Thread Michael Becke
Oleg Kalnichevski wrote: Mike, I am afraid things are a bit more complicated than that. HttpClient always uses a plain socket to establish connection with a proxy. As far as I understand so do IE & Mozilla. I think what Ulrich is trying to do is to connect to the proxy using SSL, which is quite unc

AW: Proxied SSL connection

2003-08-06 Thread Ulrich Freyer-Hirtz
>Apparently your attachment got rejected by the mail server. Try posting it in ZIP >format. Here it comes as zip Also I've some failure in configuration, it would be helpful, if someone could tell me, that the code should work. >You need to know exactly what port your proxy is listening on.

Re: AW: Proxied SSL connection

2003-08-06 Thread Roland Weber
Hello Christian, It depends on what you want to do. SSL is meant to establish a secure end-to-end connection, and the both ends are *usually* the client and the backend server. I wouldn't rule out the possibility to connect to the proxy using SSL. But this will only secure the connection to the p

AW: Proxied SSL connection

2003-08-05 Thread Ulrich Freyer-Hirtz
Can't get a connection. I'm new to HttpClient, so it can be also be my fault: Depending on the Port I choose for the Proxy I get two different errors: Port 80 -> Bad request Port 443 -> a bad Status line. A leading "HTTP" is missed I've attached my code with parts of the Traces/Logs. If the b

Re: AW: Proxied SSL connection

2003-08-05 Thread Michael Becke
Ulrich Freyer-Hirtz wrote: May be at another port. There are running two Apache. One as Proxy, one as WebServer. I'll try to find out the port-configuration. I'm wondering, who creates that CONNECT-Statement ? Ask the Client the Server : "What Protocoll do you have at Port 80?" ? I told the client