Https(JRE 1.4.1) issues related using a Proxy to connect to Tomcat.
posted 13 years ago
Hello Friends, I am using Tomcat 4.1 standalone version.It has been correctly configured for SSL on port 8443.I am using IE 5.0 to connect to it to test the Tomcat Home page via Https.It works fine for Https when accessed without a proxy,but fails when requested using Https(Access Denied error in page).Also when I use an applet to connect to it using HttpsUrlConnection(https url) an Exception is thrown which says(Unable to tunnel through proxy.Proxy returns "Http/1.0 403 forbidden). Note that Http works cleanly in all variations. scenario,What is the cause ,and how can it be resolved?(JRE=1.4.1) Thanks Nitin
403 means that the user was not validated by the server. This is the response you'd get for example if you attempted to login to a password-protected site and didn't provide a valid userid/password. If your proxy isn't passing security information along properly for simple manual page requests then it's also going to fail for applets, since the same core browser services are invoked in both cases.
An IDE is no substitute for an Intelligent Developer.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads