mariadb/mysql-test/main/ssl_encrypted_key.result
Vladislav Vaintroub 86ec20189a MDEV-14091 Support password protected SSL key in server.
Add ssl_passphrase server parameter, which works similarly
to --passout/--passin openssl command line parameters.

Pass phrase value can be formatted as follows.

- pass:password
Provide actual password after the pass: prefix.

- env:var
Obtain the password from the environment variable 'var'a

- file:pathname
Reads the password from the specified file pathname.
Only the first line, up to the newline character, is read from the stream.

If ssl_passphrase was set, SHOW VARIABLE will show "file:", "env:" or
  "pass:" (but won't reveal sensitive data)
2025-04-19 14:04:10 +03:00

8 lines
81 B
Text

SELECT @@ssl_passphrase;
@@ssl_passphrase
pass:
have_ssl
1
FLUSH SSL;
have_ssl
1