[MDEV-19168] mysqladmin implement --flush-ssl Created: 2019-04-04  Updated: 2021-02-24  Resolved: 2021-02-17

Status: Closed
Project: MariaDB Server
Component/s: Admin statements, Scripts & Clients
Fix Version/s: 10.6.0

Type: Task Priority: Minor
Reporter: Daniel Black Assignee: Robert Bindar
Resolution: Fixed Votes: 0
Labels: beginner-friendly

Issue Links:
Relates
relates to MDEV-24963 Document mariadb-admin --flush-ssl Closed
relates to MDEV-16266 Ability to Refresh SSL Cert / CRL Wit... Closed

 Description   

MDEV-16266 implemented the admin command 'FLUSH SSL'. Having this as a mysqldadmin script would be handy to automate deployments of SSL updates in chef/puppet/ansible.



 Comments   
Comment by Kartik Soneji [ 2020-05-20 ]

Hi,
I would like to implement this feature.

Comment by Daniel Black [ 2020-05-21 ]

You're most welcome to do so.

The code is https://github.com/MariaDB/server/blob/10.5/client/mysqladmin.cc#L114

The instructions on downloading and building are https://mariadb.com/kb/en/compiling-mariadb-from-source/

As you are only needed the client to build `cmake -DWITHOUT_SERVER=ON ...` in the instructions to minimise the build.

Online chat help available https://mariadb.zulipchat.com/

Comment by Robert Bindar [ 2020-05-21 ]

danblack thanks for the valuable intro. Kartik is the GSoC student who will be working on unifying the compression API in the server. GSoC is currently in the community bonding phase and I felt like this task would be a good and fun chance for Kartik to go through the first contribution experience.

KartikSoneji this summer you'll see and hear a lot of Daniel around, so consider yourselves introduced . Let me know at any point in time if you need help figuring out this task.

Comment by Vladislav Vaintroub [ 2020-05-26 ]

danblack
I'm wondering if we need that.
mysql -e "FLUSH SSL"
has that functionality already. Why would it make sense to extend legacy tool with new functionality, if it is available elsewhere

Comment by Robert Bindar [ 2021-02-17 ]

Pull Request merged, many thanks Kartik for your contribution

Comment by Ian Gilfillan [ 2021-02-24 ]

This needs to be documented as well - created MDEV-24963.

Generated at Thu Feb 08 08:49:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.