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:
@ -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
|
||||
|
Reference in New Issue
Block a user