Commit 416b811a authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-8775 enabling encryption is too error-prone

create a "preset" file to enable all encryption options at once
parent 7bd2f20e
...@@ -93,6 +93,8 @@ IF(UNIX) ...@@ -93,6 +93,8 @@ IF(UNIX)
COMPONENT Client) COMPONENT Client)
INSTALL(FILES rpm/server.cnf DESTINATION ${INSTALL_SYSCONF2DIR} INSTALL(FILES rpm/server.cnf DESTINATION ${INSTALL_SYSCONF2DIR}
COMPONENT IniFiles) COMPONENT IniFiles)
INSTALL(FILES rpm/enable_encryption.preset DESTINATION ${INSTALL_SYSCONF2DIR}
COMPONENT IniFiles)
ENDIF() ENDIF()
# This is for SuSE: # This is for SuSE:
......
#
# !include this file into your my.cnf (or any of *.cnf files in /etc/my.cnf.d)
# and it will enable data at rest encryption. This is a simple way to
# ensure that everything that can be encrypted will be and your
# data will not leak unencrypted.
#
# If in the future more encryption related options will be implemented,
# this file will enable them too.
#
[mariadb]
aria-encrypt-tables
encrypt-binlog
encrypt-tmp-disk-tables
encrypt-tmp-files
loose-innodb-encrypt-log
loose-innodb-encrypt-tables
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment