From: Frank Brehm Date: Tue, 27 Dec 2022 10:18:34 +0000 (+0100) Subject: daily autocommit X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=480fe92c40510c37ec81c69e26181ce672cb514d;p=config%2Fhelga-hetzner%2Fetc.git daily autocommit --- diff --git a/.etckeeper b/.etckeeper index 73c7df8..4bba942 100755 --- a/.etckeeper +++ b/.etckeeper @@ -1114,6 +1114,12 @@ maybe chmod 0644 'mysql/mariadb.conf.d/50-server.cnf' maybe chmod 0644 'mysql/mariadb.conf.d/60-galera.cnf' maybe chmod 0644 'mysql/my.cnf.2021.04.08.22.02.11' maybe chmod 0644 'mysql/my.cnf.fallback' +maybe chown 'mysql' 'mysql/ssl' +maybe chmod 0700 'mysql/ssl' +maybe chown 'mysql' 'mysql/ssl/iRedMail.crt' +maybe chmod 0600 'mysql/ssl/iRedMail.crt' +maybe chown 'mysql' 'mysql/ssl/iRedMail.key' +maybe chmod 0600 'mysql/ssl/iRedMail.key' maybe chmod 0755 'nagios-plugins' maybe chmod 0755 'nagios-plugins/config' maybe chmod 0644 'nagios-plugins/config/apt.cfg' diff --git a/mysql/mariadb.conf.d/50-server.cnf b/mysql/mariadb.conf.d/50-server.cnf index ff63098..db6cff7 100644 --- a/mysql/mariadb.conf.d/50-server.cnf +++ b/mysql/mariadb.conf.d/50-server.cnf @@ -90,6 +90,9 @@ expire_logs_days = 10 #ssl-ca = /etc/ssl/certs/iRedMail.crt #ssl-cert = /etc/ssl/certs/iRedMail.crt #ssl-key = /etc/ssl/private/iRedMail.key +ssl-ca = /etc/mysql/ssl/iRedMail.crt +ssl-cert = /etc/mysql/ssl/iRedMail.crt +ssl-key = /etc/mysql/ssl/iRedMail.key #require-secure-transport = on # diff --git a/mysql/ssl/iRedMail.crt b/mysql/ssl/iRedMail.crt new file mode 100644 index 0000000..2f062e0 --- /dev/null +++ b/mysql/ssl/iRedMail.crt @@ -0,0 +1,97 @@ +-----BEGIN CERTIFICATE----- +MIIGMzCCBRugAwIBA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2VuY3J5cHQu +b3JnMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6Ly9jcmwuaWRlbnRydXN0LmNvbS9E +U1RST09UQ0FYM0NSTC5jcmwwHQYDVR0OBBYEFHm0WeZ7tuXkAXOACIjIGlj26Ztu +MA0GCSqGSIb3DQEBCwUAA4IBAQAKcwBslm7/DlLQrt2M51oGrS+o44+/yQoDFVDC +5WxCu2+b9LRPwkSICHXM6webFGJueN7sJ7o5XPWioW5WlHAQU7G75K/QosMrAdSW +9MUgNTP52GE24HGNtLi1qoJFlcDyqSMo59ahy2cI2qBDLKobkx/J3vWraV0T9VuG +WCLKTVXkcGdtwlfFRjlBz4pYg1htmf5X6DYO8A4jqv2Il9DjXA6USbW1FzXSLr9O +he8Y4IWS6wY7bCkjCWDcRQJMEhg76fsO3txE+FiYruq9RUWhiF1myv4Q6W+CyBFC +Dfvp7OOGAN6dEOM4+qR9sdjoSYKEBpsr6GtPAQw4dy753ec5 +-----END CERTIFICATE----- diff --git a/mysql/ssl/iRedMail.key b/mysql/ssl/iRedMail.key new file mode 100644 index 0000000..7b64158 --- /dev/null +++ b/mysql/ssl/iRedMail.key @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDCs54xyOdiAutN +NQpWuO/lYpZRM4TFAamcRqbVxiXQKEjKM3cd4NW7xlSm9KORUwSJZ0xh9E2j8KF7 +oGN9ZmxKSNsDDJOgcCC/4GeD/asC6X1Yn/niVnfbdjIkEV74udtzamTB2a3e6Hn9 +yh0QqwBd8KJnNMplxYJGfoRaXl+YT9llWV/T+toKS8sRKK5GduyYMU+o2X8EidkJ +Cz5Q1cXgXZLnT6fDcCq0jNLeJzoQPxllriTvUoyozbVt//7MIMrGFuJ/uUAtb8Bn +qP9VAV7fne+n24ftTRhuNk9F8HZGeUaaSF0gG3GGil4k3NlRMJ0jAPSLcXzuy10z +7IGeSgufAgMBAAECggEAS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