Certificate Installation : Dovecot + Exim


Installing Comodo's SSL certificate on a Dovecot server is straight forward and simple. Please follow these instructions to install your SSL certificate on a Dovecot IMAP Server:


Step 1: Along with your certificate you may get the root and intermediate certificates. For Dovecot/Exim you need to put all these certificates including your site's certificate into one bundle file in order of decreasing distance from the root.

The "ca-bundle" file already includes the root and intermediates (COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt).

 cat domain_com.crt > ssl-bundle.crt

In case you have received the root and intermediates certificates separately, run the following command.

 cat domain_com.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > ssl-bundle.crt


If you are Using GUI based Text Editor (Ex: Notepad):

(i) To concatenate the certificate files into single bundle file, first open domainname.crt and files using any text editor.

(ii) Now copy all the content of domainname.crt and paste it on the top of file.

(iii) Now save the file name as ‘ssl-bundle.crt’.


Note: If you have not the received the 'ca-bundle' file in the ZIP that we sent you, you can download it from this article's attachments. (End of this page)


Step 2: Add the following to your exim4.conf:


tls_certificate = CONFDIR/ssl/comodo/ssl-bundle.crt
tls_privatekey = CONFDIR/ssl/comodo/your_site.key


Step 3: Edit dovecot.conf:


ssl_cert = </etc/dovecot/ssl/comodo/ssl-bundle.crt
ssl_key = </etc/dovecot/ssl/comodo/your_site.key


Step 4: After you have configured the server, the SSL Installation can be verified with our SSL Analyzer tool.





Related Articles:



Attachments (5.49 KB) (5.50 KB) (5.50 KB)

Comments (0)
Help Desk Software by Kayako
© 2018 Comodo Security Solutions, Inc. All rights reserved.