• jaloren's avatar
    Support custom CA truststore and client SSL keypair. (#255) · ce43513e
    jaloren authored
    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.