[MDEV-9605] mysqlbinlog does not accept ssl-ca option as expected Created: 2016-02-21  Updated: 2016-04-26  Resolved: 2016-04-26

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients, SSL
Affects Version/s: 10.0.23
Fix Version/s: 10.0.27

Type: Bug Priority: Major
Reporter: Jaime Crespo Assignee: Alexey Botchkov
Resolution: Fixed Votes: 1
Labels: upstream, upstream-fixed

Sprint: 10.0.25

 Description   

$ mysqlbinlog --ssl-ca /dev/null
mysqlbinlog: unknown option '--ssl-ca'
$ mysql --ssl-ca /dev/null -e "SELECT 1"
+---+
| 1 |
+---+
| 1 |
+---+
$ mysql --version
mysql  Ver 15.1 Distrib 10.0.23-MariaDB, for Linux (x86_64) using readline 5.1

Workaround is eay, but I want every [client] enforcing SSL.

I am asking to backport https://bugs.mysql.com/bug.php?id=74864 to MariaDB. It should be relatively straightforward, as it is a client-only change. Although later, code was refactored in 5.7 with different option meanings.

As far as I can see, the diff where this was fixed in 5.7 is: https://github.com/mysql/mysql-server/commit/53ab9bcbfb3e2f908e7dcf48d258ec2fc5d47b8c#diff-adaf67317429b2bcbbb7426654beff2f although the code was later refactored in newer 5.7 versions ( https://github.com/mysql/mysql-server/commit/3bd5589e1a5a93f9c224badf983cd65c45215390#diff-adaf67317429b2bcbbb7426654beff2f ).



 Comments   
Comment by Alexey Botchkov [ 2016-04-25 ]

proposed fix:
http://lists.askmonty.org/pipermail/commits/2016-April/009313.html

Generated at Thu Feb 08 07:35:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.