Fix the TLS copy error and MariaDB not liking the CA Bundle
This commit is contained in:
		| @@ -19,7 +19,6 @@ socket=/var/lib/mysql/mysql.sock | ||||
| 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 | ||||
| ssl-cert=/etc/my.cnf.d/certificates/pubcert.epm | ||||
| ssl-key=/etc/my.cnf.d/certificates/privkey.epm | ||||
| tls-version=TLSv1.2,TLSv1.3 | ||||
|   | ||||
| @@ -4,7 +4,7 @@ Description=Copy TLS Certificates for Mariadb | ||||
| [Service] | ||||
| Type=oneshot | ||||
| ExecStartPre=mkdir -p /etc/my.cnf.d/certificates | ||||
| ExecStart=cp /etc/httpd/md/domains/*/*.pem /etc/my.cnf.d/certificates/ | ||||
| ExecStart=/bin/bash -lc 'cp /etc/httpd/md/domains/*/*.pem /etc/my.cnf.d/certificates/' | ||||
| ExecStartPost=chown -R mysql:mysql /etc/my.cnf.d/certificates | ||||
|  | ||||
| [Install] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user