--ssl-verify-server-cert
This page is part of MariaDB's Documentation.
The parent of this page is: mariadb-shell for MariaDB Shell
Topics on this page:
Overview
Verify common name of server in its certificate against the hostname. Disabled by default.
See also: mariadb-shell for MariaDB Shell, in 23.02, in 23.01, in 22.12, and in 22.10
USAGE
mariadb-shell [--ssl-verify-server-cert]
DETAILS
Option | Default Behavior | Argument |
---|---|---|
| If omitted, MariaDB Shell does not verify that the server certificate matches the server | None |
EXAMPLES
To connect to a host with TLS using server certificate verification:
$ mariadb-shell \
--host host.example.com \
--user user_name \
--password 'user_password' \
--ssl-ca /etc/ssl/mariadb/ca.pem \
--ssl-verify-server-cert
CHANGE HISTORY
Release Series | History |
---|---|
23.03 |
|
23.02 |
|
23.01 |
|
22.12 |
|
22.10 |
|