Keep getting a The database settings are invalid: Error 1045: Access without SSL denied
when trying to set up using mysql with self signed TLS/SSL.
I’ve tried setting SSL_MODE to skip-verify and true per the docs but continue to get this error. It almost seems like this setting is being ignored as I have other applications connecting to the DB via SSL with no issues and even connecting with mysql --ssl -h mariadb.lan -u gitea -p
works successfully.
I’ve tested with both the binary and the official docker image on centos7 and get the same thing either way.
Am I missing something or has anyone else managed to configure this successfully?
database portion of app.ini
[database]
DB_TYPE = mysql
HOST = mariadb.lan:3306
NAME = gitea
USER = gitea
PASSWD = passwd
SSL_MODE = skip-verify
CHARSET = utf8mb4
LOG_SQL = true