MySQL Forums
Forum List  »  Security

MySQL with OpenSSL and Connector ODBC
Posted by: Walter BEST
Date: February 08, 2011 05:34AM

Hi,
i have a problem with Connector/ODBC 5.1 and MySQL 5.5.8 using OpenSSL 1.0.0c

any times i try to connect, i have a generic message of error:
- Connection Failed:[HY000][ODBC 5.1 Driver] SSL Connection error
bat
- if i dont use SSL everything works right
- if i connect using Workbench 5.2 with SSL everything work right
- if i connect using HeidiSQL with SSL everything is right

Of course i have created with OpenSSL, the keys and certificates, and i have insert into my.ini (server section) the :
-ssl = On
-ssl-ca="....../OpenSSL/Cert/My-CAcert.pem"
-ssl-cert = "....../OpenSSL/Cert/My-servercert.pem"
-ssl-key = "....../OpenSSL/Private/My-serverkey.pem"
-ssl-cipher = ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:DES-CBC3-SHA
-ssl-capath = "....../OpenSSL/Cert/"

and in my.ini (client section)
-ssl-ca="....../OpenSSL/Cert/My-CAcert.pem"
-ssl-cert = "....../OpenSSL/Cert/My-clientcert.pem"
-ssl-key = "....../OpenSSL/Private/My-clientkey.pem"
-ssl-cipher = ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:DES-CBC3-SHA
-ssl-capath = "....../OpenSSL/Cert/"

Can someone please help me about this?

Thanks in advance

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL with OpenSSL and Connector ODBC
4598
February 08, 2011 05:34AM


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.