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

[iaik-ssl] HttpsURLConnection and proxies



Hello,

using proxies if you instantiate an SSLSocket is easy (SSLClient demo).

But how to do it if you don't use SSLSockets but a
HttpsURLConnection as in the following code:

System.getProperties().put("java.protocol.handler.pkgs", "iaik.protocol");
URL url=new URL("https://www.server.name /HTTP/1.0");
HttpsURLConnection sslConn = (HttpsURLConnection) url.openConnection();

(Setting the proxy properties in appletviewer or
in the JRE plugin didn't work.)

Thanks, greetings,
Stef


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