Missing database ssl config in seafile.conf and seahub.conf

Hi folks,

can’t find any ssl-parameters to set tls required database connection in seafile.conf and seahub.conf.
Is there any way to get seafile connecting to database by using tls?

I tried adding the following parameters in the config files but it seems, these parameters are not used.
seafile.conf:

[database]
ssl_disabled=false
ssl_verify_cert=true
ssl_ca=/opt/tls/root_ca.pem
ssl_key=/opt/privkey.pem
ssl_cert=/opt/cert.pem
...

seahub.conf:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'seahub_db',
        'USER': 'seafile',
        'PASSWORD': '...',
        'HOST': 'mariadb',
        'PORT': '3306',
        'OPTIONS': {'charset': 'utf8mb4'},
        'SSL_CERT': '/opt/cert.pem',
        'SSL_KEY': '/opt/privkey.pem',
        'SSL_CA': '/opt/root_ca.pem',
    }
}

But mariadb log then shows: 2022-07-11 7:52:40 76 [Warning] Access denied for user 'seafile'@'10.1.1.10' (using password: YES)

see also:
https://pymysql.readthedocs.io/en/latest/modules/connections.html