mariadb/mysql-test/main/ssl_encrypted_key.combinations
Vladislav Vaintroub 42fe974075 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.
2025-03-18 18:28:20 +01:00

8 lines
188 B
Text

[pass]
loose-ssl_passphrase=pass:MySecretPass
[env]
loose-ssl_passphrase=env:SSL_KEY_PASSWORD
[file]
loose-ssl_passphrase=file:$MYSQL_TEST_DIR/std_data/encrypted-server-key-password.txt