HTTPS and a Proxy server?

Does the plugin-in still not work with HTTPS and a proxy server?From plug-in docs -"Java Plug-in supports http, ftp, gopher and SOCKS v4 protocols through the proxy server. Currently, Java Plug-in does not support https (SSL). "
[263 byte] By [mnutty] at [2007-9-26 3:56:51]
# 1
Hi,Java Plug-in supports HTTPS,HTTP,FTP and Gopher over proxy. Java Plug-in also supports SSL through Java Secure Socket Extension(JSSE). Anil.Developer Technical SupportSun Microsystems Inc, http://www.sun.com/developers/support
ramanil_indts at 2007-6-29 12:48:09 > top of Java-index,Desktop,Deploying...
# 2

Hello

I am making HTTPS calls from within my applet code and this works fine using the basic Java Plug-in support for HTTPS.

This means my code basically does:

URL url = new URL("https://myhost.com/servlet/Test");

URLConnection conn = url.openConnection();

etc..

We are using Java 1.4.2. I've read in the "How HTTPS Works in Java Plug-in" for 1.3, that the plugin uses the browsers API for making HTTPS connections. Is this still the case for 1.4?

My basic problem is that it all works fine if the browser is NOT configured to use a proxy server. If a proxy server is configured we get the following Exception in the client:

java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request ( The data is invalid. )"

I have read that "Sun's Java Secure Socket Extension (JSSE) library allows you to access a secure Web server from behind a firewall via proxy tunnelling. However, JSSE expects the proxy's reply to the tunnelling request to begin with "HTTP 1.0"; otherwise, it throws an IOException"(http://www.javaworld.com/javatips/jw-javatip111_p.html)

The article talks about using the JSSE library but it seems to be assuming the client is an application not an applet.

How do I use JSSE from within an applet if all the proxy information I seem to need to set in the JSSE code is held by the browser?

Will JSSE support proxies returning responses beginning HTTP 1.1 in the future?

Any help on this would be greatly appreciated.

Many thanks

mark

coneheed at 2007-6-29 12:48:09 > top of Java-index,Desktop,Deploying...