From 7341c028ae18bf9bee2034decc1a187d23dd4562 Mon Sep 17 00:00:00 2001 From: Nathan Ward <nward@searchlight.nz> Date: Fri, 30 Oct 2020 22:14:08 +1300 Subject: [PATCH] Disable TLS for MySQL --- templates/sql.conf.erb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/templates/sql.conf.erb b/templates/sql.conf.erb index aa2d753..bbad824 100644 --- a/templates/sql.conf.erb +++ b/templates/sql.conf.erb @@ -84,17 +84,17 @@ sql <%= @name %> { mysql { # If any of the files below are set, TLS encryption is enabled - tls { - ca_file = "/etc/ssl/certs/my_ca.crt" - ca_path = "/etc/ssl/certs/" - certificate_file = "/etc/ssl/certs/private/client.crt" - private_key_file = "/etc/ssl/certs/private/client.key" - cipher = "DHE-RSA-AES256-SHA:AES128-SHA" - - tls_required = yes - tls_check_cert = no - tls_check_cert_cn = no - } +# tls { +# ca_file = "/etc/ssl/certs/my_ca.crt" +# ca_path = "/etc/ssl/certs/" +# certificate_file = "/etc/ssl/certs/private/client.crt" +# private_key_file = "/etc/ssl/certs/private/client.key" +# cipher = "DHE-RSA-AES256-SHA:AES128-SHA" +# +# tls_required = yes +# tls_check_cert = no +# tls_check_cert_cn = no +# } # If yes, (or auto and libmysqlclient reports warnings are # available), will retrieve and log additional warnings from -- GitLab