I've recently been trying to implement x509 authentication through the JDBC. (MySQL Connector J)
I'm using self-signed certificates. When I have the MySQL user set to "require x509" on the server I can connect just fine using a MySQL client. The minute I load the certificates into the truststore and keystore though I get this:
Access denied for user 'foo'@'bar' (using password: YES)
Obviously the name of the user and it's source have been changed to protect the innocent.
Can anyone offer reasons as to why my certificates would work when connecting with the MySQL client but not with the JDBC?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com