When it comes to MySQL user authentication, you need to use a MySQL user that has SSL defined
mysql> select column_name,column_type from information_schema.columns
-> where table_schema='mysql' and table_name='user'
-> and column_name like 'ssl%';
+-------------+-----------------------------------+
| column_name | column_type |
+-------------+-----------------------------------+
| ssl_type | enum('','ANY','X509','SPECIFIED') |
| ssl_cipher | blob |
+-------------+-----------------------------------+
2 rows in set (0.01 sec)
mysql>
These columns should have values in them for any user allowed to login via SSL
If you login with a specific user, please run this query
SELECT
A.*,B.ssl_type,
IFNULL(B.ssl_cipher,'Undefined') ssl_cipher
FROM
(
SELECT
SUBSTR(cu,1,LOCATE('@',cu) - 1) user,
SUBSTR(cu,LOCATE('@',cu) + 1) host
FROM
(SELECT CURRENT_USER() cu) AA
) A
INNER JOIN mysql.user B USING (user,host);
This will quickly tell you if you are connecting as an SSL MySQL client or not.
If a particular user needs SSL defined, use the GRANT command to defined SSL options.