Hello Dimon,
1. Step MySql server. Login as normal user without SSL client
C:\web\OpenSSL-Win32\bin>..\..\MySQL\bin\mysql --user= --p=password=
Enter password: *******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 35
Server version: 5.1.34-community MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> \s
--------------
..\..\MySQL\bin\mysql Ver 14.14 Distrib 5.1.34, for Win32 (ia32)
Connection id: 45
Current database:
Current user: root@localhost
SSL: Not in use
Using delimiter: ;
Server version: 5.1.34-community MySQL Community Server (GPL)
Protocol version: 10
Connection: localhost via TCP/IP
Server characterset: utf8
Db characterset: utf8
Client characterset: utf8
Conn. characterset: utf8
TCP port: 130264
Uptime: 2 days 5 hours 40 min 5 sec
Threads: 2 Questions: 1463 Slow queries: 0 Opens: 22 Flush tables: 1 Open tables: 0 Queries per second avg: 0.7
2. Step MySql server. Login as normal with SSL client
D:\web\ssl>d:\web\MySQL\bin\mysql --host=chriweb001.riekerworld.com --port=130264 --user= --password= --ssl-ca=ca-cert.pem --ssl-cert=client-cert.pem --ssl-key=client-key.pem
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 40
Server version: 5.1.34-community MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> \s
--------------
..\..\MySQL\bin\mysql Ver 14.14 Distrib 5.1.34, for Win32 (ia32)
Connection id: 44
Current database:
Current user: root@localhost
SSL: Cipher in use is DHE-RSA-AES256-SHA
Using delimiter: ;
Server version: 5.1.34-community MySQL Community Server (GPL)
Protocol version: 10
Connection: localhost via TCP/IP
Server characterset: utf8
Db characterset: utf8
Client characterset: utf8
Conn. characterset: utf8
TCP port: 130264
Uptime: 2 days 5 hours 39 min 8 sec
Threads: 3 Questions: 1458 Slow queries: 0 Opens: 22 Flush tables: 1 Open tables: 0 Queries per second avg: 0.7
3. Step MySql server. Login as normal with SSL client (remote)
mysql> \s
--------------
d:\web\MySQL\bin\mysql Ver 14.14 Distrib 5.1.39, for Win64 (unknown)
Connection id: 46
SSL: Cipher in use is DHE-RSA-AES256-SHA
Using delimiter: ;
Server version: 5.1.34-community MySQL Community Server (GPL)
Protocol version: 10
Connection: chriweb001.riekerworld.com via TCP/IP
Client characterset: utf8
Server characterset: utf8
TCP port: 130264
Uptime: 2 days 5 hours 48 min 51 sec
Threads: 3 Questions: 1466 Slow queries: 0 Opens: 22 Flush tables: 1 Open tables: 0 Queries per second avg: 0.7
I tried also with fullpath inside the dbMySql (TUniConnect).
I can send you an sample if you want. The DB is reachable over internet (only test system at the moment)...
Greetings
Uwe