HTTPS/SSL Tunneling and Proxy Server
November 14, 2008 – 10:29 pm by coachweiHTTPS Tunneling, also called HTTPS Proxy, SSL proxy, or SSL tunneling, refers to sending HTTPS content via a proxy server. This is a very common usage scenario over the web. Unfortunately, I have not found any Java server that supports this yet. Tomcat chokes up quickly if you tunnel HTTPS messages (tried both Tomcat 5.x and 6.x). Other Java servers don't even come close. Jetty is the furthest and closest to supporting it. Greg Wilkins even wrote two examples showing Jetty's proxy support (ProxyServlet and AsyncProxyServlet, though both of them only partially work when I tried to run them on on Jetty 6.x and Jetty 7.x). The main problem for all these servers is that they do not support HTTP Connect. We all know HTTP GET, and HTTP POST, and all servers support these common HTTP methods beautifully, except for HTTP Connect. The ...more »