Hi,
I've just set up an rqlite 7.21.4 cluster with mTLS, and after fighting with the setup I think I've got it working the way it's supposed to. I'm even able to use cURL to connect to the cluster with HTTPS by specifying the --cacert, --cert and --key flags.
However, I'm not able to figure out how to get the rqlite client to use mTLS as I don't see any flags in the client to configure a client certificate and key:
# rqlite -h
Options:
-h, --help
display help information
-a, --alternatives
comma separated list of 'host:port' pairs to use as fallback
-s, --scheme[=http]
protocol scheme (http or https)
-H, --host[=127.0.0.1]
rqlited host address
-p, --port[=4001]
rqlited host port
-P, --prefix[=/]
rqlited HTTP URL prefix
-i, --insecure[=false]
do not verify rqlited HTTPS certificate
-c, --ca-cert
path to trusted X.509 root CA certificate
-u, --user
set basic auth credentials in form username:password
-v, --version
display CLI version
Am I just missing something obvious?
Thanks,
-Martin