Re: BUG-Report: mysql: SSL support not compiled in (remove ssl_client_ca_file and ssl_client_ca_dir settings) third attempt!
Klaus Tachtler via dovecot <[email protected]> Thu, 2 Apr 2026 11:14:41 +0200
| Newsgroups | gmane.mail.imap.dovecot |
|---|---|
| Message-ID | <[email protected]> |
Hi Timo, I tried out the mariadb.patch you sent. While it fixed the original issue, BUT there is a problem with the configuration parameter: ssl_client_key_file = /etc/dovecot/ssl/private/wildcard.idmz.tachtler.net.key.pem dovecot[9510]: auth: Error: mysql(db.idmz.tachtler.net): Connect failed to database (postfixadmin): File '/etc/dovecot/ssl/private/wildcard.idmz.tachtler.net.key.pem' not found (Errcode: -280287320) - waiting for 1 seconds before retry 5 times inside the log. However, the file does exist: # ls -la /etc/dovecot/ssl/private/wildcard.idmz.tachtler.net.key.pem -r-------- 1 dovecot dovecot 1703 Feb 27 09:55 /etc/dovecot/ssl/private/wildcard.idmz.tachtler.net.key.pem I had already set the ownership to root:root, but the key file is still not found, even though it's definitely there. I hope there’s a solution to this problem as well. Thank you in advance, Best regards, Klaus. On 4/1/26 14:32, Timo Sirainen wrote: > On 1. Apr 2026, at 10.23, Klaus Tachtler via dovecot <[email protected]> wrote: >> >> An error occurs, while trying to establish a TLS/SSL secured connection to a database (mariadb), which has the ability to accept TLS/SSL connections. > .. >>> It took quite some debugging, but adding the following hack before the >>> autoreconf call appears to make it work: >>> checking for mysql_ssl_set in -llibmariadb... no > > Can you verify if the attached patch works? > -- --------------------------------------- e-Mail : [email protected] Homepage: https://www.tachtler.net DokuWiki: https://dokuwiki.tachtler.net --------------------------------------- _______________________________________________ dovecot mailing list -- [email protected] To unsubscribe send an email to [email protected]