diff options
author | Francis Dupont <fdupont@isc.org> | 2022-04-01 16:59:24 +0200 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2022-04-02 10:08:28 +0200 |
commit | 3a8449789f7b3674330e1912abf029e771108c58 (patch) | |
tree | 1964f4393276b0dc22a7abde93d8a0726a4932dd /hammer.py | |
parent | [#2353] hammer: add 'tls' feature to configure TLS in MySQL (diff) | |
download | kea-3a8449789f7b3674330e1912abf029e771108c58.tar.xz kea-3a8449789f7b3674330e1912abf029e771108c58.zip |
[#2353] Proposed fixes for doc
Diffstat (limited to 'hammer.py')
-rwxr-xr-x | hammer.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1220,6 +1220,9 @@ ssl_key = {cert_dir}/kea-client.key cmd += "GRANT ALL ON keatest.* TO 'keatest'@'localhost';\n" cmd += "GRANT SELECT ON keatest.* TO 'keatest_readonly'@'localhost';\n" if 'tls' in features: + # ALTER USER is the best place to put the REQUIRE but it is not + # supported by old versions so downgrade to GRANT. + # X509 is weak too but enough for testing purpose. cmd += "GRANT ALL ON keatest.* TO 'keatest_secure'@'localhost' REQUIRE X509;\n" cmd += "SET @@global.log_bin_trust_function_creators = 1;\n" cmd += "EOF\n\"" |