mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
Mariadb SSL certificate verification fails: TLS/SSL error: Certificate verification failure: The certificate is NOT trusted." #264
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wzzrd on 1/10/2026
When enabling "Use HTTPS" for MariaDB (I'm not sure why this is called HTTPS in the UI, btw - it's SSL, not HTTPS), backups fail with "TLS/SSL error: Certificate verification failure: The certificate is NOT trusted."
This seems to be because the mariadb-dump command in the code is missing some SSL related flags, like
--ssl-ca. It would be great if there would be options to enable SSL verification (basically adding--ssl-mode=VERIFY_CAand--ssl-ca=/etc/ssl/certs/ca-certificates.crt) or SSL without verification (adding--ssl-mode=REQUIRED) if isHttps is true.