I managed to create a connection from my sample Java application running on Bluemix and a MySQL database running on my local machine using Secure Gateway service and Docker. No security.
Now I am trying to find out how should TLS be configured. Should I establish the TLS connection in my Java code and make the corresponding configuration in MySQL? I thought this would be a configuration between Secure Gateway and Docker. If this is the case, how should I configure the communication between them? And, what is the token required for?
Is there a tutorial on how to implement this communication in Java?
Thanks in advance.