1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-19168: Add ssl-flush command. (#1749)

* MDEV-19168: Add ssl-flush command.
Improve flush error messages and move error printing into the `flush` function.
This commit is contained in:
Kartik Soneji
2021-02-17 22:43:15 +05:30
committed by GitHub
parent 9f13670004
commit 66b8edf8a5
3 changed files with 75 additions and 75 deletions

View File

@ -17,3 +17,14 @@ mysqld is alive
# Creating an empty file 'cnf_file'
# Using --defaults-extra-file option with 'cnf_file'.
mysqld is alive
# Kill the server
# restart: --ssl-key=MYSQLTEST_VARDIR/tmp/ssl_key.pem --ssl-cert=MYSQLTEST_VARDIR/tmp/ssl_cert.pem
connect ssl_con,localhost,root,,,,,SSL;
SELECT VARIABLE_VALUE INTO @ssl_not_after FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_server_not_after';
# Use a different certificate ("Not after" certificate field changed)
# Check new certificate used by new connection
Result
OK
# Cleanup
# Kill the server
# restart