Postfix and Let's Encrypt


#1

Nov 27 10:36:48 davhosting postfix/smtpd[26626]: warning: cannot get RSA certificate from file </etc/postfix/ssl.cert: disabling TLS support
Nov 27 10:36:48 davhosting postfix/smtpd[26626]: warning: TLS library problem: 26626:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen(’</etc/postfix/ssl.cert’,‘r’):
Nov 27 10:36:48 davhosting postfix/smtpd[26626]: warning: TLS library problem: 26626:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
Nov 27 10:36:48 davhosting postfix/smtpd[26626]: warning: TLS library problem: 26626:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:722:

Works fine when i test it whit openssl x509 -text -noout -in /etc/postfix/ssl.cert

Only silly Postfix wont read it :slight_smile:

Any way to fix that?


#2

That location specifier with < is for Dovecot AFAIK, Postfix doesn’t need it.


#3

Thanks, works now, too much copy & past :slight_smile:


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.