Re: Can't connect to MySQL without SSL

dovecot--- via dovecot <[email protected]>
Newsgroups gmane.mail.imap.dovecot
Message-ID <[email protected]>
@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

In the meantime I will try to make it work using SSL. But the last time I tried it somehow conflicted with the "ssl_server_cert_file" and "ssl_server_key_file" which point to the certbot/letsencrypt certificates while MySQL generates self-signed certificates.

Thanks for your help so far!
_______________________________________________
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.