--ssl-key
This page is part of MariaDB's Documentation.
The parent of this page is: mariadb-shell for MariaDB Shell
Topics on this page:
Overview
x509 Key in PEM format
See also: mariadb-shell for MariaDB Shell, in 23.02, in 23.01, in 22.12, and in 22.10
USAGE
mariadb-shell [--ssl-cert </path/to/certificate_file> --ssl-key </path/to/key_file>]
DETAILS
Option | Default Behavior | Argument |
---|---|---|
| TLS is not used by default | A path to a private key file to use for TLS. |
EXAMPLES
To connect to a host using the private key from the /etc/ssl/mariadb/client-key.pem
file and the corresponding certificate file:
$ mariadb-shell \
--host host.example.com \
--user user_name \
--password 'user_password' \
--ssl-cert /etc/ssl/mariadb/client-cert.pem \
--ssl-key /etc/ssl/mariadb/client-key.pem
CHANGE HISTORY
Release Series | History |
---|---|
23.03 |
|
23.02 |
|
23.01 |
|
22.12 |
|
22.10 |
|