MySQL Forums
Forum List  »  Security

Re: Access denied using X509 - more info
Posted by: Ellinor
Date: March 30, 2006 08:13AM

I tried to narrow down the problem a bit by trying to just logging in on the same machine but I still get the same problem:

SSL works:
mysql> grant all on *.* to 'replication_user'@'%' identified by 'slavepwd' require SSL;
Query OK, 0 rows affected (0.01 sec)

>/opt/mysql/bin/mysql -u replication_user -pslavepwd --ssl --ssl-ca=/opt/cert/ca-cert.pem --ssl-capath=/opt/cert/ --ssl-cert=/opt/cert/client-cert.pem --ssl-key=/opt/cert/client-key.pem
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8234 to server version: 5.0.18-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>


X509 fails:
mysql> grant all on *.* to 'replication_user'@'%' identified by 'slavepwd' require X509;
Query OK, 0 rows affected (0.00 sec)

>/opt/mysql/bin/mysql -u replication_user -pslavepwd --ssl --ssl-ca=/opt/cert/ca-cert.pem --ssl-capath=/opt/cert/ --ssl-cert=/opt/cert/client-cert.pem --ssl-key=/opt/cert/client-key.pem
ERROR 1045 (28000): Access denied for user 'replication_user'@'localhost' (using password: YES)


Did anyone get this to work??

/Ellinor

Options: ReplyQuote


Subject
Views
Written By
Posted
4466
March 27, 2006 08:37AM
Re: Access denied using X509 - more info
2796
March 30, 2006 08:13AM
2344
March 30, 2006 05:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.