22 Nov
2026
22 Nov
'26
12:23 p.m.
Thanks. We'll take a look. As workaround try using /etc/ldap.conf
Aki
On 22/11/2026 10:07 EET h--- via dovecot <[1]dovecot@dovecot.org> wrote:
I found this happened to me too using the latest version in the Debian
13 package repository, Dovecot 2.4.1 Postfix, Authelia worked with
`demand` in slapd, Dovecot did not. same error messages as you. I
switched to dovecot.org's repository, following instructions at
[2]https://dovecot.org/download, & the problem resolved. I don't know if
there's something wrong with the Debian version, it simply seemed never
to send the client cert, & after a mammoth session with a coding
assistant, it's final verdict was this:
'Confirmed root cause (decisive, slapd-independent evidence): a local
openssl s_server -Verify 2 using the exact dovecot.crt/dovecot.key
logged peer did not return a certificate 40 * for Dovecot, while openssl
s_client presenting the same cert/chain to the same server verified OK.
So Dovecot 2.4.1-4's ldaps:// auth backend is not sending a client
certificate at all, despite ssl_client_cert_file/key_file being parsed
(it even fatals on a bogus path) and regardless of the per-connection
(ssl_client_*) or global (/etc/ldap/ldap.conf, LDAPCONF) options routes.
slapd's demand rejects the empty Certificate message; try tolerates it
-- which is exactly the symptom you saw. Postfix proves slapd + libldap
+ your PKI are all fine.'
_______________________________________________
dovecot mailing list -- [3]dovecot@dovecot.org
To unsubscribe send an email to [4]dovecot-leave@dovecot.org
References
Visible links
- mailto:dovecot@dovecot.org
- https://dovecot.org/download
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org