Hello to all I�ve stuck at some point with the following problem and would be really grateful for any clues or at least pointing out some direction:
I do use Tomcat Server 5.0x and Mysql database 4.1. I�ve also installed MySQL J/Connector version 3.1. MySQL and tomcat are running on standard ports (3306 and 8080). The problem is as follows: I am developing quite a huge java application running on Tomcat and connecting to MySQL database. Up to now, all our installations of this software were in closed environment and all clients� queries through Internet browsers very put over VPN. Now I need expose it on the Internet and I would like to put SSL over the whole application. My problem is that when I run my application over SSL on tomcat server and trying to log in (all creditentials are taken from MySQL database) it doesn�t work - I cannot log in - my application is throwing problem with login name and password. As soon as I take off SSL everything is back to normal. My ideas about that problem are:
*I need to put SSL over everything - Mysql<-SSL-->connector<-SSL->Tomcat,
*there is some redirection problem with J/Connector ?
*I know that I can put SSL between J/Connector and MYSQL but what about J/Connector and Tomcat then?
*Do I need SSL between J/Connector and Tomcat ?
*I have came up with different solution - internet<-SSL->APACHE<-NoSSL->Tomcat<-NoSSL->J/connector<-NoSSL->MYsql - does it make any sense?