Implementing SSL support for adding mysql instances using mysql SSL user.
General
Escalation
General
Escalation
Description
How to test
None
How to document
None
AFFECTED CS IDs
249687
Smart Checklist
Activity
Show:

Alexey Palazhchenko September 14, 2019 at 5:52 AM
2.0.0-rc2 added pmm-admin add mysql --tls
.
Done
Details
Details
Assignee
Unassigned
UnassignedReporter

Priority
Components
Fix versions
Story Points
0
Sprint
None
Affects versions
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created February 20, 2017 at 8:10 AM
Updated March 6, 2024 at 8:48 AM
Resolved September 14, 2019 at 5:51 AM
For now,
The problem:
If you try to add mysql instance with MySQL's SSL user:
The possible ways to connect to MySQL using ssl user are:
1. Putting ssl things under [client] in my.cnf
2. Connecting directly by specifying with --ssl-ca --ssl-cert and --ssl-key options.
Full option list:
The result:
pmm-admin should act as much similar as mysql client, with supporting both available options.