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

[iaik-ssl]cu|| HTTPS - Proxy authorization Required



--- Recibido de   BBVINFOR.D350MLY 91-5375741               27-11-02 13.16

  -> Dieter.Bratko@iaik.at
 CC:
  -> IAIK-SSL@IAIK.AT

Hello,

I'm writing a java application (a client) that try to make an https
connection to a server machine. The Client machine is behind a proxy.
and I have the following problem:

java.io.IOException: Proxy responded: HTTP/1.0 407 Proxy authorization
required
    at org.w3c.www.protocol.http.f.proxyConnect(Unknown Source)
    at org.w3c.www.protocol.http.f.proxyConnect(Unknown Source)
    at org.w3c.www.protocol.http.f.a(Unknown Source)
    at org.w3c.www.protocol.http.f.markUsed(Unknown Source)
    at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown
Source)
    at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
    at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
    at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at org.w3c.www.protocol.http.HttpURLConnection.a(Unknown Source)


This is my source code:

java.security.Provider iaik = new iaik.security.provider.IAIK();
java.security.Security.addProvider(iaik);

URL url = new URL(null,"https://www.verisign.com",new
iaik.protocol.https.Handler());
HttpsURLConnection con = (HttpsURLConnection)url.openConnection();

System.setProperty("https.proxyHost", proxyHost);
System.setProperty("https.proxyPort", proxyPort);
String authString = "user:password";

authMsg = "Basic " + Util.Base64Encode(authString.getBytes());

con.setRequestProperty("Https-Proxy-Authorization", authMsg);



Any help would be apreciated. It is very urgent.

There is a bug with isasilk when using proxy tunneling?

Tnaks a lot

Maite
************************************  DISCLAIMER  *****************************************
This message is intended exclusively for the named person. It may contain 
confidential, propietary or legally privileged information. No confidentiality or
privilege is waived or lost by any mistransmission. If you receive this message in
error, please immediately delete it and all copies of it from your system, destroy any
hard copies of it an notify the sender. Your must not, directly or indirectly, use,
disclose, distribute, print, or copy any part of this message if you are not the
intended recipient. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is authorised
to state them to be the views of GrupoBBVA. Please note that internet e-mail neither
guarantees the confidentiality nor the proper receipt of the message sent. If the
addressee of this message does not consent to the use of internet e-mail, please
communicate it to us immediately.

******************************  AVISO LEGAL  ***********************************************
Este mensaje es solamente para la persona a la que va dirigido. Puede contener
información  confidencial  o  legalmente  protegida.  No  hay  renuncia  a  la 
confidencialidad o privilegio por cualquier transmisión mala/errónea. Si usted
ha recibido este mensaje por error,  le rogamos que borre de su sistema
inmediatamente el mensaje asi como todas sus copias, destruya todas las copias
del mismo de su disco duro y notifique al remitente.  No debe,  directa o
indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de
este mensaje si no es usted el destinatario. Cualquier opinión expresada en este
mensaje proviene del remitente, excepto cuando el mensaje establezca lo contrario
y el remitente esté autorizado para establecer que dichas opiniones provienen de
GrupoBBVA. Nótese que el correo electrónico via Internet no permite asegurar ni la
confidencialidad de los mensajes que se transmiten ni la correcta recepción de los
mismos. En el caso de que el destinatario de este mensaje no consintiera la
utilización del correo electrónico via Internet, rogamos lo ponga en nuestro
conocimiento de manera inmediata.
***********************************************************************************************

--
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