Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

x509 driving me nuts!

 
porch rat
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.

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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic