Hi Niko,
1) you can use one keypair for any number of clients
2) please read
http://dev.mysql.com/doc/refman/5.6/en/connector-j-reference-using-ssl.html, the short example is:
String trustStorePath = "src/testsuite/ssl-test-certs/test-cert-store"; System.setProperty("javax.net.ssl.keyStore", trustStorePath);
System.setProperty("javax.net.ssl.keyStorePassword", "password");
System.setProperty("javax.net.ssl.trustStore", trustStorePath);
System.setProperty("javax.net.ssl.trustStorePassword", "password");
props.setProperty("useSSL", "true");
props.setProperty("requireSSL", "true");
testConn = getConnectionWithProps(props); // getting connection as usual
Edited 1 time(s). Last edit at 09/23/2013 07:39AM by Alexander Soklakov.