Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

problem with J/Connector and SSL

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

I will really appreciate any suggestions.

Kind regards

Simon
 
author & internet detective
Posts: 40551
825
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Simon,
Welcome to JavaRanch!

I'm moving this to our security forum where they know more about SSL.
 
reply
    Bookmark Topic Watch Topic
  • New Topic