Enable Apache mod_md Lets Encrypt Certificates with MariaDB

This commit is contained in:
2021-10-31 17:55:14 -05:00
parent e15987f2dc
commit d70b23b0b1
6 changed files with 190 additions and 10 deletions

View File

@@ -20,16 +20,8 @@ log-error=/var/log/mariadb/mariadb.log
pid-file=/run/mariadb/mariadb.pid
character-set-server = utf8mb4
ssl-ca=/etc/pki/tls/certs/ca-bundle.crt
{% for certificate in certificates.files %}
{% if certificate.path is regex('/pubcert.pem$') %}
ssl-cert={{ certificate.path }}
{% endif %}
{% endfor %}
{% for certificate in certificates.files %}
{% if certificate.path is regex('/privkey.pem$') %}
ssl-key={{ certificate.path }}
{% endif %}
{% endfor %}
ssl-cert=/etc/my.cnf.d/certificates/pubcert.epm
ssl-key=/etc/my.cnf.d/certificates/privkey.epm
tls-version=TLSv1.2,TLSv1.3