Certificates too large for sendmail?


I have letsencrypt certificates working with my web server and dovecot imapd. When I try to use the same certificate for sendmail, it fails to initialize TLS on startup, with the following error:

sm-mta[7459]: STARTTLS=server: file /etc/letsencrypt/live/mail.dolorespark.org/cert.pem unsafe: Value too large for defined data type

Here’s what I’ve set in sendmail.mc:

define(`confCACERT_PATH', `/etc/ssl/certs')dnl
define(`confCACERT', `/etc/letsencrypt/live/mail.dolorespark.org/chain.pem')dnl
define(`confSERVER_CERT', `/etc/letsencrypt/live/mail.dolorespark.org/cert.pem')dnl
define(`confSERVER_KEY', `/etc/letsencrypt/live/mail.dolorespark.org/privkey.pem')dnl
define(`confCLIENT_CERT', `/etc/letsencrypt/live/mail.dolorespark.org/cert.pem')dnl
define(`confCLIENT_KEY', `/etc/letsencrypt/live/mail.dolorespark.org/privkey.pem')dnl

TLS works on my system (Debian, sendmail 8.15.2-3) with a self-signed certificate. Has anybody else seen this error with letsencrypt certificates?



Maybe der type expected ?


JMC did you solve somehow this ?