Commit ce43513e authored by Committed by Ben Kochie
Support custom CA truststore and client SSL keypair. (#255)
Per discussion in #226, there is no way to specify a custom CA that the mysqld exporter will trust when establishing a SSL connection to a mysql server. So if a mysql server has a custom truststore, an operator would need to set DSN, where tls=skip-verify. With this change, a user can define the ssl options in the mysql cnf and then the mysqld exporter will construct a DSN and a custom TLS config based on those options.
Showing with 59 additions and 0 deletions