[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-ssl] Going through Microsoft proxy



Hi all,

I make an HttpsURLConnection to a server going through some proxy's using
the iSiSaLk3.03 libs. As the system properties https.ProxyServer and
https.ProxyPort are set, this works fine for SQID Proxy but not for the
Microsoft proxy.
In later case, we tested several options, but none with success (see
Exceptions below).

Using authentication, I get this trace:

org.w3c.www.protocol.http.HttpException: java.io.IOException: Proxy
responded: HTTP/1.1 407 Proxy authentication required
java.io.IOException: Proxy responded: HTTP/1.1 407 Proxy authentication
required
	at iaik/security/ssl/Utils.proxyConnect
	at iaik/security/ssl/Utils.proxyConnect
	at iaik/security/ssl/Utils.proxyConnect
	at iaik/security/ssl/Utils.proxyConnect
	at org/w3c/www/protocol/http/f.a
	at org/w3c/www/protocol/http/f.markUsed
	at org/w3c/www/protocol/http/HttpBasicServer.getConnection
	at org/w3c/www/protocol/http/HttpBasicServer.runRequest
	at org/w3c/www/protocol/http/HttpManager.runRequest
	at org/w3c/www/protocol/http/HttpURLConnection.connect
	at org/w3c/www/protocol/http/HttpURLConnection.a
	at org/w3c/www/protocol/http/HttpURLConnection.getInputStream

Disabling the authentication (allow anonymous login), I get the following:

org.w3c.www.protocol.http.HttpException: java.io.IOException: Proxy
responded: HTTP/1.1 502 Proxy Error ( Der angegebene SSL-Anschluss ist nicht
erlaubt.  )
java.io.IOException: Proxy responded: HTTP/1.1 502 Proxy Error ( Der
angegebene SSL-Anschluss ist nicht erlaubt.  )
	at iaik/security/ssl/Utils.proxyConnect
	at iaik/security/ssl/Utils.proxyConnect
	at iaik/security/ssl/Utils.proxyConnect
	at iaik/security/ssl/Utils.proxyConnect
	at org/w3c/www/protocol/http/f.a
	at org/w3c/www/protocol/http/f.markUsed
	at org/w3c/www/protocol/http/HttpBasicServer.getConnection
	at org/w3c/www/protocol/http/HttpBasicServer.runRequest
	at org/w3c/www/protocol/http/HttpManager.runRequest
	at org/w3c/www/protocol/http/HttpURLConnection.connect
	at org/w3c/www/protocol/http/HttpURLConnection.a
	at org/w3c/www/protocol/http/HttpURLConnection.getInputStream

I alread tried out the following:
	String password = proxyUser + ":" + proxyPassword;
            String encodedPassword = "Basic " + new
BASE64Encoder().encode((password.getBytes()));
            connection.setRequestProperty("Proxy-Authorization",
encodedPassword);
but it won't work either.

Can anyone help me with this?

Thanks in advance,

Oliver


TECOPLAN AG - Digital Mockup Technology
Oliver Schnaus (mailto:Oliver.Schnaus@tecoplan.com)
D-85521 Munich/Ottobrunn (Germany),
Einsteinstrasse 30
Voice: +49 89 608762-16,  Fax: +49 89 608762-18,
http://www.tecoplan.com/
---------------------------------------------------------------------
news..... news..... news..... news..... news..... news.....
---------------------------------------------------------------------
xbrioso - webtime engineering - engineering service center on the web -  pls
visit: www.xbrioso.com or www.xbrioso.de
---------------------------------------------------------------------
Please see http://www.OpenDMU.com - the alliance of strong partners  ! !
---------------------------------------------------------------------




--
Mailinglist-archive at
http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content:
UNSUBSCRIBE iaik-ssl