I have some java servlets running under Tomcat which do a JDBC connection to DB2. I need to set this up to do secure sockets (SSL) connections. I have changed the DB2 server. Now, I need to change the client portion.
The driver I am using is:
com.ibm.db2.jcc.DB2Driver.
The connection string currently looks like:
jdbc:db2://[ipaddr]:[port]/[db2name]:user=[userid];password=[password];
I believe that what I need is:
1. Changes to the Connection String
2. A way to tell the client about the server certificate
Please let me know if there is anything else. The project is to be able to successfully connect and access data from the DB2 server using the JDBC client.