Certs (again)
John Borhek
john at vmsources.com
Fri May 3 23:08:49 CEST 2013
OK, sorry to be dense, but I am just not understanding how to implement
certs so I can actually use Thunderbird or some other mail client. I
don't personally care about authoritative certs (but I will get them if
required and already have a GoDaddy UCC which includes
smtp.mydomain.com) but I need the server to identify itself correctly,
not as localhost.localdomain
Here are my steps:
[root at smtp ~]# cd /etc/pki/tls/certs
[root at smtp certs]# make smtp.mydomain.com.pem
<Input data as required>
[root at smtp certs]# vi /etc/imapd.conf
<change from: tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem to:
tls_key_file: /etc/pki/tls/certs/smtp.vmsources.com.pem>
<changefrom: tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem to:
#tls_key_file: /etc/pki/tls/certs/smtp.vmsources.com.pem>
[root at smtp certs]# vi /etc/postfix/main.cf
<change from: smtpd_tls_key_file = /etc/pki/tls/private/localhost.pem
to: smtpd_tls_key_file = /etc/pki/tls/certs/smtp.vmsources.com.pem>
<change from: smtpd_tls_cert_file = /etc/pki/tls/private/localhost.pem
to: smtpd_tls_cert_file = /etc/pki/tls/certs/smtp.vmsources.com.pem>
[root at smtp certs]# service cyrus-imapd restart
[root at smtp certs]# service postfix restart
And then no log in to Roundcube!
More information about the users
mailing list