I'm trying to set up Tomcat6 for SSL. I created keystore and edited server.xml. When I try to access a page such as https://localhost:8443 I get following response in browser:
SSL received a record that exceeded the maximum permissible length. Using Wireshark I can see that Tomcat responds with error 400 bad request in plain text. There no errors or warnings in Tomcat log file. What can be wrong? Thanks.