HTTPS - Proxy Authentication Required
843811May 23 2002 — edited Aug 4 2005Hi,
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 probelm
java.io.IOException: Unable to tunnel through 192.168.102.20:3128. Proxy returns "HTTP/1.0 407 Proxy Authentication Required"
even if I have done the following settings:
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
System.setProperty("https.proxyHost",proxyHost);
System.setProperty("https.proxyPort",proxyPort);
System.setProperty("https.proxyUser",user);
System.setProperty("https.proxyPassword",password);
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
Please, can someone help me?