We recently added the ability to force or disable SSL when JetBackup 5 is generating the database auth conf files during a Database Dump. As a security best practice, we recommend keeping SSL enabled for mysqldump however there are MySQL or MariaDB configurations which may not support SSL or otherwise require it to be disabled.
If you see the error, "Error: mariadb-dump: Got error: 2026: "TLS/SSL error: SSL is required, but the server does not support it" when trying to connect" - this means that SSL is being required during the mysqldump or mariadb-dump however the MySQL server configuration does not support it with options such as "skip-ssl" or "ssl=off" in the [mysql] option group.
Symptoms:
[27/Aug/2025 22:25:26 +0000] [PID 2951439] - Database "account2_database"
[27/Aug/2025 22:25:26 +0000] [PID 2951439] [DEBUG] Database Dump CMD: mariadb-dump --defaults-file=/usr/local/jetapps/etc/jetbackup5/database_auth_h6749aRZT.cnf --force --opt --skip-lock-tables --default-character-set=utf8mb4 -R -E account2_database | gzip > /jetbackup5/workspace/backup/680218b9a393009b39055e92/account2_6819bffc897756d5040222d4/database/account2_database.sql.gz
[27/Aug/2025 22:25:26 +0000] [PID 2951439] [ERROR] Failed exporting database data. Database Handler Error: Failed export MySQL database “account2_database”. Error: mariadb-dump: Got error: 2026: "TLS/SSL error: SSL is required, but the server does not support it" when trying to connect
Resolution:
Option 1 - Recommended
If possible, we recommend removing any conflicting settings that force SSL to be disabled on the MySQL server level. Please refer to the MySQL or MariaDB documentation with the help of your server administrator.
Option 2 - Turn off SSL for MariaDB/MySQL dump
To resolve this issue without adjusting your MySQL or MariaDB Server settings, you will need to edit the client MySQL authentication file corresponding to the control panel you're using and add ssl=off to the file under the [client] group.
| Control Panel | MySQL / MariaDB Panel Auth File |
| cPanel & WHM | /root/.my.cnf |
| DirectAdmin | /usr/local/directadmin/conf/my.cnf |
| Plesk (RHEL) | /etc/my.cnf |
| Plesk (Ubuntu/Debian) | /etc/mysql/my.cnf |
| No Panel | Refer to your MySQL or MariaDB Configuration |

