Re: Can't connect to MySQL without SSL

Timo Sirainen via dovecot <[email protected]>
Newsgroups gmane.mail.imap.dovecot
Message-ID <[email protected]>
On 6. Aug 2026, at 0.47, dovecot--- via dovecot <[email protected]> wrote:
> 
> @basti require_secure_transport is OFF, I had checked that.
> 
> Hi Timo!
> 
> Creating the mysql-client.cnf didn't change the behavior, it tries to connect even with this minimal configuration:
> 
> /etc/dovecot/dovecot.conf:
> sql_driver = mysql
> 
> mysql host.docker.internal {
>  option_file = /etc/dovecot/mysql-client.cnf
> }
> 
> /etc/dovecot/mysql-client.cnf:
> [client]
> ssl-mode=DISABLED
> 
> Still gets me an error:
> TLS/SSL error: self-signed certificate in certificate chain

Apparently this doesn't work with MariaDB library, and there's no workaround other than making the SSL cert work or disabling SSL on server side.

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.