Next we will convert server certificate file from pem format into jks (java keystore) which can be used with java client programs.I am assuming mysql java connector is installed if not you can install the same using following yum command, ” yum install mysql-connector-java”.Now lets look into the steps for creating a Java program client, I am only discussing one way authentication i.e client validating server in the following steps. ![]() I’l assume mysql server is already setup for ssl connections, if it is not and you are looking for steps, I found following article useful with my server setup I had to look up multiple articles, not satisfied with quality of available articles I decided to write one covering end to end instructions. ![]() I had a requirement to connect to Mysql using secure JDBC, the initial setup took longer than I anticipated due to the requirement of converting. Like any other enterprise database, mysql supports secure jdbc connections using ssl/tls.
0 Comments
Leave a Reply. |