RE: JSSE

Craig Minton (cmminton@dstsystems.com)
Tue, 17 Aug 1999 10:38:19 -0500

From: "Craig Minton" <cmminton@dstsystems.com>
To: <java-security@Sun.COM>
Subject: RE: JSSE
Date: Tue, 17 Aug 1999 10:38:19 -0500
In-Reply-To: <862567C9.00771E07.00@dstsmtp1.dstsystems.com>

I was using the old method of specifying proxy. I have changed it and am
getting farther, but still not quite there. It now is not being authorized
through the proxy. I didn't see anyhthing in the README or Install
instructions about setting the authorization. I used to set the system
propery Proxy-Authorization for and it worked just fine. Just for fun I
tried setting https.Proxy-Authorization, but it didn't help. Here is the
error returned:

Error: Unable to tunnel through proxy:8080. Proxy returns "HTTP/1.0 407
Proxy authorization required"
java.io.IOException: Unable to tunnel through proxy:8080. Proxy returns
"HTTP/1.0 407 Proxy authorization required"

Thanks!
Craig

> -----Original Message-----
> From: Jeff Nisewanger [mailto:Jeff.Nisewanger@Eng.Sun.COM]
> Sent: Tuesday, August 10, 1999 4:35 PM
> To: java-security@Sun.COM; cmminton@dstsystems.com
> Cc: Jeff.Nisewanger@Eng.Sun.COM
> Subject: RE: JSSE
>
>
>
>
>
> > Thank you for the quick reply. I now have this working for a direct
> > connection, but am running into problems when I try to go
> through a proxy.
> > I have set up the system properties of "proxySet", "proxyHost", and
> > "proxyPort', and the request property "Proxy-Authorization" with the
> > mime-encoded userid:password. The code works for all the
> non-SSL web pages
> > I've tried, but not SSL. Any ideas? Thanks! Here's the dump I'm
> > getting....
>
>
> Are you setting "https.proxyHost" or just "proxyHost" etc.?
> You must set the properties as documented in the README and INSTALL pages.
> The system properties "proxySet", "proxyHost", and
> "proxyPort" are specific to the http handler, not the https handler,
> and are the old JDK1.0-style names. In JDK1.1 and later those names
> are deprecated but still supported for http and the new names
> are similar to the https ones -- namely "http.proxyPort" and
> "http.ProxyHost" (the equivalent to proxySet is now just the existence
> of a non-empty http.proxyHost property).
>
>
>
> Jeff
>
>
>