Search the MySQL manual:

4.3.9.4 GRANT Options

MySQL can check X509 certificate attributes in addition to the normal username/password scheme. All the usual options are still required (username, password, IP address mask, database/table name).

There are different possibilities to limit connections:

User Comments

Posted by Michael Babcock on Wednesday January 15 2003, @7:03am[Delete] [Edit]

It should be noted that this does not apply to the 3.23 series at all.

Posted by Adam Carmichael on Monday March 17 2003, @4:50am[Delete] [Edit]

If the above does not work for 3.23, how does one enable SSL for 3.23.55 and before - will instructions be made available, as I can only find them for version 4.

Regards,
Adam

Posted by Christian Hammers on Sunday March 30 2003, @11:30am[Delete] [Edit]

The docs seem to be wrong. Although "openssl x509 -text -in mycert.pem" write e.g. the Subject as "C=DE, ST=NRW, L=Aachen...", MySQL needs the format that is used be "openssl x509 -in mycert -subject":
/C=DE/ST=NRW/L=Aachen

Posted by Joel Corra on Tuesday April 29 2003, @10:51am[Delete] [Edit]

Instructions will not be made available for using SSL in 3.23.* because versions earlier than 4.0 don't support SSL. If you want SSL you'll have to upgrade to 4.0 (and you'll also have to compile MySQL yourself, because the distributed binaries aren't compiled with SSL support).

Add your own comment.