You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Darrel Drake <EB...@jp.ibm.com> on 2001/04/05 05:58:03 UTC

SSL over proxy: coming soon?

I hear that some Axis and SOAP users were asking about using HTTPS over
proxy. I just looked at the cvs snapshots to make sure (I wrote the SSL
support for Axis), and I can tell you that support for SSL over proxy is
*not* included in either 2.1 or Axis. Support for tunneling is "included"
in the JSSE implementation of HttpsURLConnection, which we can't use (as
per Chris Nelson's comments many moons ago) and even this might be
dependent on what type of proxy you have, and at least doesn't work on my
LAN (I get the "Can't tunnel through proxyName. Returns 200" message).

I can get around to adding this support to Axis (in the same neat
JSSE-platform-independent way). But it might be much less pretty in 2.1
(someone else want to get on this one?).

Darrell Drake*
IBM Japan, TRL
+81-46-215-4175
EB92401@jp.ibm.com
* - Notes ID has a misspelling of my name




Re: SSL over proxy: coming soon?

Posted by Wei Qian <We...@oracle.com>.
Hi:

I wonder if i understand the question. However,  i have been using SOAP
to talk to a secure web site via proxy. i am using SOAP2.1 release version,
and it looks to me that this functionality is not implemented in HTTPUtils
and SSLUtils becaues it simply tries to build a SSLSocket to the proxy.
Attached please find these two files i modified to use JSSE1.0.2 sample
SSLSocketWithTunneling.java. By using these two files, i can see
"Handshake finished" from the trace at least. i don't know if it's the right
way
to implement this functionality, but simply think it might help in some
cases.

Cheers,

-Wei
----- Original Message -----
From: "Wouter Cloetens" <wo...@mind.be>
To: <so...@xml.apache.org>; <ax...@xml.apache.org>
Sent: Friday, April 06, 2001 9:33 AM
Subject: Re: SSL over proxy: coming soon?


> I've been looking for specs on how to do this. It looks straightforward.
Is
> my understanding of the matter correct in that you should simply do a
> CONNECT request as per RFC2817, section 5.2/5.3, and as of then treat the
> connection as a newly opened SSL connection?
>
> bfn, Wouter
>
> On Thu, Apr 05, 2001 at 12:58:03PM +0900, Darrel Drake wrote:
> > I hear that some Axis and SOAP users were asking about using HTTPS over
> > proxy. I just looked at the cvs snapshots to make sure (I wrote the SSL
> > support for Axis), and I can tell you that support for SSL over proxy is
> > *not* included in either 2.1 or Axis. Support for tunneling is
"included"
> > in the JSSE implementation of HttpsURLConnection, which we can't use (as
> > per Chris Nelson's comments many moons ago) and even this might be
> > dependent on what type of proxy you have, and at least doesn't work on
my
> > LAN (I get the "Can't tunnel through proxyName. Returns 200" message).
> >
> > I can get around to adding this support to Axis (in the same neat
> > JSSE-platform-independent way). But it might be much less pretty in 2.1
> > (someone else want to get on this one?).
>

Re: SSL over proxy: coming soon?

Posted by Wei Qian <We...@oracle.com>.
Hi:

I wonder if i understand the question. However,  i have been using SOAP
to talk to a secure web site via proxy. i am using SOAP2.1 release version,
and it looks to me that this functionality is not implemented in HTTPUtils
and SSLUtils becaues it simply tries to build a SSLSocket to the proxy.
Attached please find these two files i modified to use JSSE1.0.2 sample
SSLSocketWithTunneling.java. By using these two files, i can see
"Handshake finished" from the trace at least. i don't know if it's the right
way
to implement this functionality, but simply think it might help in some
cases.

Cheers,

-Wei
----- Original Message -----
From: "Wouter Cloetens" <wo...@mind.be>
To: <so...@xml.apache.org>; <ax...@xml.apache.org>
Sent: Friday, April 06, 2001 9:33 AM
Subject: Re: SSL over proxy: coming soon?


> I've been looking for specs on how to do this. It looks straightforward.
Is
> my understanding of the matter correct in that you should simply do a
> CONNECT request as per RFC2817, section 5.2/5.3, and as of then treat the
> connection as a newly opened SSL connection?
>
> bfn, Wouter
>
> On Thu, Apr 05, 2001 at 12:58:03PM +0900, Darrel Drake wrote:
> > I hear that some Axis and SOAP users were asking about using HTTPS over
> > proxy. I just looked at the cvs snapshots to make sure (I wrote the SSL
> > support for Axis), and I can tell you that support for SSL over proxy is
> > *not* included in either 2.1 or Axis. Support for tunneling is
"included"
> > in the JSSE implementation of HttpsURLConnection, which we can't use (as
> > per Chris Nelson's comments many moons ago) and even this might be
> > dependent on what type of proxy you have, and at least doesn't work on
my
> > LAN (I get the "Can't tunnel through proxyName. Returns 200" message).
> >
> > I can get around to adding this support to Axis (in the same neat
> > JSSE-platform-independent way). But it might be much less pretty in 2.1
> > (someone else want to get on this one?).
>

Re: SSL over proxy: coming soon?

Posted by Wouter Cloetens <wo...@mind.be>.
I've been looking for specs on how to do this. It looks straightforward. Is
my understanding of the matter correct in that you should simply do a 
CONNECT request as per RFC2817, section 5.2/5.3, and as of then treat the
connection as a newly opened SSL connection?

bfn, Wouter

On Thu, Apr 05, 2001 at 12:58:03PM +0900, Darrel Drake wrote:
> I hear that some Axis and SOAP users were asking about using HTTPS over
> proxy. I just looked at the cvs snapshots to make sure (I wrote the SSL
> support for Axis), and I can tell you that support for SSL over proxy is
> *not* included in either 2.1 or Axis. Support for tunneling is "included"
> in the JSSE implementation of HttpsURLConnection, which we can't use (as
> per Chris Nelson's comments many moons ago) and even this might be
> dependent on what type of proxy you have, and at least doesn't work on my
> LAN (I get the "Can't tunnel through proxyName. Returns 200" message).
> 
> I can get around to adding this support to Axis (in the same neat
> JSSE-platform-independent way). But it might be much less pretty in 2.1
> (someone else want to get on this one?).

Re: SSL over proxy: coming soon?

Posted by Wouter Cloetens <wo...@mind.be>.
I've been looking for specs on how to do this. It looks straightforward. Is
my understanding of the matter correct in that you should simply do a 
CONNECT request as per RFC2817, section 5.2/5.3, and as of then treat the
connection as a newly opened SSL connection?

bfn, Wouter

On Thu, Apr 05, 2001 at 12:58:03PM +0900, Darrel Drake wrote:
> I hear that some Axis and SOAP users were asking about using HTTPS over
> proxy. I just looked at the cvs snapshots to make sure (I wrote the SSL
> support for Axis), and I can tell you that support for SSL over proxy is
> *not* included in either 2.1 or Axis. Support for tunneling is "included"
> in the JSSE implementation of HttpsURLConnection, which we can't use (as
> per Chris Nelson's comments many moons ago) and even this might be
> dependent on what type of proxy you have, and at least doesn't work on my
> LAN (I get the "Can't tunnel through proxyName. Returns 200" message).
> 
> I can get around to adding this support to Axis (in the same neat
> JSSE-platform-independent way). But it might be much less pretty in 2.1
> (someone else want to get on this one?).