Testing SSL Conections w/ MYSQL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JoeAley2003

    Testing SSL Conections w/ MYSQL

    Hi all.

    I recently installed all MySQL 4.1.1 including max RPMS. During the
    installation i used "--nodeps" on MAX package and at Shared-compat
    cause they were requiring the libssl.0.9.6 and libcrypto.0.9.6 . I am
    using a RH 9 and these files are installed on my system.

    The result for mysql query :

    show variables like 'have_openssl';

    is

    have_openssl | YES

    I created a user using the grant command with 'require ssl' like
    this:
    [color=blue]
    > grant insert,select on MyDatabase.* to myssluser@myhos t require ssl;[/color]
    Query OK


    I can connect using this username and CLIENT_SSL param (isn't this
    param just for php 4.3 or higher?):

    mysql_connect($ dbserver, "myssluser" , $dbpass, CLIENT_SSL);

    It runs on my php 4.2.2 compiled with openssl 0.9.7, but i need to

    TEST if this is a real ssl connection.

    How could i have 100% sure that it is encrypted???


    Thank you all!!!
Working...