Mariadb SSL certificate verification fails: TLS/SSL error: Certificate verification failure: The certificate is NOT trusted." #264

Closed
opened 2026-04-05 16:16:04 +02:00 by MrUnknownDE · 0 comments
Owner

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_CA and --ssl-ca=/etc/ssl/certs/ca-certificates.crt) or SSL without verification (adding --ssl-mode=REQUIRED) if isHttps is true.

*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_CA` and `--ssl-ca=/etc/ssl/certs/ca-certificates.crt`) or SSL without verification (adding `--ssl-mode=REQUIRED`) if isHttps is true.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#264