MySQL, BCB6 ans SSL Connection
-
JonKerry
I have now managed to get the server and mydac up and running together but have found that when the ssl option is selected within mydac it doesn't actually encrypt the data.
I have tested with navicat and the certificates, user and ssl works fine (i am doing a tcpdump of the data flow) however, if i set the user to REQUIRE SSL in mysql then it wont allow me to connect and if I dont it is just plain text even though the mpSSL is selected.
at the moment i have...
Compress = False
Direct = False
Protocol = mpSSL
but this will not connect with a user that requires SSL
am I doing something wrong?
I have tested with navicat and the certificates, user and ssl works fine (i am doing a tcpdump of the data flow) however, if i set the user to REQUIRE SSL in mysql then it wont allow me to connect and if I dont it is just plain text even though the mpSSL is selected.
at the moment i have...
Compress = False
Direct = False
Protocol = mpSSL
but this will not connect with a user that requires SSL
am I doing something wrong?
We are using MySQL server version 4.1.9 SSL (Windows).
Can you connect to this server in SSL mode using standard command-line mysql.exe client?
> if i set the user to REQUIRE SSL in mysql then it wont allow me to connect
> and if I dont it is just plain text even though the mpSSL is selected
This is standard client behavior - if it can't connect using SSL then it tries to connect without encryption.
> Direct = False
> MySQL API function is not linked.
Most possible, this is MySQL AB bug (http://bugs.mysql.com/bug.php?id=18195). Try to use, for example, 5.0.15 client libmysql.dll. If you specify your e-mail we will send it to you.
Can you connect to this server in SSL mode using standard command-line mysql.exe client?
> if i set the user to REQUIRE SSL in mysql then it wont allow me to connect
> and if I dont it is just plain text even though the mpSSL is selected
This is standard client behavior - if it can't connect using SSL then it tries to connect without encryption.
> Direct = False
> MySQL API function is not linked.
Most possible, this is MySQL AB bug (http://bugs.mysql.com/bug.php?id=18195). Try to use, for example, 5.0.15 client libmysql.dll. If you specify your e-mail we will send it to you.
-
JonKerry
I seem to have found that it denies the connection if REQUIRE SSL is used which leads me to believe that SSL is not working within myDACIkar wrote:This is standard client behavior - if it can't connect using SSL then it tries to connect without encryption.
Navicat has no problem at all using the same connection settings and certs
-
JonKerry
I dont understand why there is the requirement to try the windows version?
Should this be done on the client side connecting to the Linux Server?
As far as I was aware SSL was not available in a Windows Binary so I would need to re-compile on a windows server if that is what you are suggesting?
As far as I can see it works fine on Fedora so dont understand the requirement to test with windows.
Please could you explain
Many Thanks
Should this be done on the client side connecting to the Linux Server?
As far as I was aware SSL was not available in a Windows Binary so I would need to re-compile on a windows server if that is what you are suggesting?
As far as I can see it works fine on Fedora so dont understand the requirement to test with windows.
Please could you explain
Many Thanks
-
david_labbe
- Posts: 39
- Joined: Wed 01 Mar 2006 15:27
I agree with you jon. It should work on the linux box. If you are interested however, MySQL has apparently now released a binary with SSL enabled for windows (too many users suggesting it should be built in). I haven't tried it yet but will soon do so. I also have to connect the app to a linux server but I found it interesting to have a mysql server running on my laptop. Quite convenient for testing purposes.JonKerry wrote:I dont understand why there is the requirement to try the windows version?
Should this be done on the client side connecting to the Linux Server?
As far as I was aware SSL was not available in a Windows Binary so I would need to re-compile on a windows server if that is what you are suggesting?
As far as I can see it works fine on Fedora so dont understand the requirement to test with windows.
Please could you explain
Many Thanks
________
Alcohol Rehab Dicussion
Last edited by david_labbe on Fri 18 Feb 2011 15:32, edited 1 time in total.
-
david_labbe
- Posts: 39
- Joined: Wed 01 Mar 2006 15:27
I agree with you. I just thought I would mention the MySQL release if and only if there was a need for you to have a win version of mysql running on your machine...JonKerry wrote:From the advice given I have used a command line connection to my mysql server (fedora) and am able to connect using the ssl certs that have been created. To me this shows that the server is correctly configured for SSL. Why is there still the requirement to check with Windows?
Many Thanks
In the present case, I also do not see why a win version should be used to check... If you manage to connect to your linux mysql server with SSL, that should be sufficient to say it works and it is properly configured!
________
Gift cards
Last edited by david_labbe on Fri 18 Feb 2011 15:33, edited 1 time in total.