1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

show in mariadb cli whether server cert was verified

This commit is contained in:
Sergei Golubchik
2023-09-22 13:16:35 +02:00
parent 853bdf576f
commit 6b900330b9
3 changed files with 29 additions and 2 deletions

View File

@ -640,3 +640,18 @@ WARNING: option --enable-cleartext-plugin is obsolete.
#
# MDEV-30327 Client crashes in print_last_query_cost
#
#
# show whether server cert was verified
#
create user ser@localhost identified by "ass";
MYSQL --disable-ssl-verify-server-cert -e "\s"
SSL: Cipher in use is XXX, cert is UNKNOWN
MYSQL --ssl-verify-server-cert -e "\s"
SSL: Cipher in use is XXX, cert is OK
drop user ser@localhost;