Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Feb 12, 2018 5:48 am 
Offline
Senior Newbie

Joined: Sun Feb 11, 2018 10:02 pm
Posts: 9
Hi, I'm attempting to set up an email with a self-signed certificate, using the process outlined here: https://linode.com/docs/security/ssl/cr ... nd-ubuntu/

The problem is, dovecot keeps looking for the certificate in /etc/dovecot/dovecot.pem, even after I've configured the path in 10-ssl.conf as follows:

#ssl_cert = </etc/ssl/certs/sheffieldaustralia.com.crt
#ssl_key = </etc/ssl/private/sheffieldaustralia.com.key

Also, it assumes that the certificate is a .pem file, but the pair created are obviously a .crt and a .key. Is this a problem?

A fuller sample from my error log:

Feb 12 21:03:26 sheffield postfix/submission/smtpd[18184]: warning: cannot get RSA certificate from file "/etc/dovecot/dovecot.pem": disabling TLS support
Feb 12 21:03:26 sheffield postfix/submission/smtpd[18184]: warning: TLS library problem: error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/dovecot/dovecot.p
Feb 12 21:03:26 sheffield postfix/submission/smtpd[18184]: warning: TLS library problem: error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
Feb 12 21:03:26 sheffield postfix/submission/smtpd[18184]: warning: TLS library problem: error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:701:
Feb 12 21:03:26 sheffield postfix/submission/smtpd[18182]: connect from 220-235-158-153.dyn.iinet.net.au[220.235.158.153]
Feb 12 21:03:26 sheffield postfix/submission/smtpd[18184]: connect from 220-235-158-153.dyn.iinet.net.au[220.235.158.153]
Feb 12 21:03:27 sheffield postfix/submission/smtpd[18182]: improper command pipelining after EHLO from 220-235-158-153.dyn.iinet.net.au[220.235.158.153]: QUIT\r\n
Feb 12 21:03:27 sheffield postfix/submission/smtpd[18182]: disconnect from 220-235-158-153.dyn.iinet.net.au[220.235.158.153] ehlo=1 quit=1 commands=2
Feb 12 21:03:27 sheffield postfix/submission/smtpd[18184]: improper command pipelining after EHLO from 220-235-158-153.dyn.iinet.net.au[220.235.158.153]: QUIT\r\n
Feb 12 21:03:27 sheffield postfix/submission/smtpd[18184]: disconnect from 220-235-158-153.dyn.iinet.net.au[220.235.158.153] ehlo=1 quit=1 commands=2

Any suggestions?

Thanks
- Ben


Top
   
PostPosted: Mon Feb 12, 2018 6:03 am 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:11 pm
Posts: 172
# signs are comments.

#ssl_cert = </etc/ssl/certs/sheffieldaustralia.com.crt
#ssl_key = </etc/ssl/private/sheffieldaustralia.com.key

Remove them from the front of these lines and restart.


Top
   
PostPosted: Mon Feb 12, 2018 1:43 pm 
Offline
Senior Newbie

Joined: Sun Feb 11, 2018 10:02 pm
Posts: 9
Damn, I'm an idiot. How didn't I see those?

Thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group