On Tue, May 06, 2025 at 11:50:55AM -0400, Jason Hirsh via Postfix-users wrote:

[ Just noticed this post from May 06... ]

> # TLS CONFIG
> smtp_tls_note_starttls_offer = yes
> smtpd_tls_key_file = /usr/local/etc/letsencrypt/live/kasdivi.com/privkey.key
> smtpd_tls_cert_file = 
> /usr/local/etc/letsencrypt/live/kasdivi.com/fullchain.pem

Note the key file suffix in "privkey.key".

> My dovecot 10—ssl.cnf is
> #### SSL settings
> ##
> # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
> ssl = yes
> 
> # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
> ssl_key = </usr/local/etc/letsencrypt/live/kasdivi.com/privkey.pem
> ssl_cert = </usr/local/etc/letsencrypt/live/kasdivi.com/fullchain.pem

Dovecot however gets to use "privkey.pem"

> I am getting the following log error oin the mail lo
> 
> May 5 10:01:31 triggerfish postfix/smtpd[94025]: warning: TLS library 
> problem: error:80000002:system library::No such file or 
> directory:/usr/src/crypto/openssl/crypto/bio/bss_file.c:297:calling 
> fopen(/usr/local/etc/letsencrypt/live/kasdivi.com/privkey.key, r):

The ".key" file does not exist.

> My guess is a problem with the certficate ?

No, inattention to detail.

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to