Installing SSL: Exim 4.x

The following instructions explain how to install an SSL certificate on an Exim 4.x web server.
The prerequisite is that the Apache web server is already installed with SSL support.
The certificate and the private key are already present on the server.

private key: /etc/apache/ssl/ 
Certificate: /etc/apache/ssl/

Step 2

Log in to your web server and open the configuration file /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs with any editor of your choice.

Step 3

Locate the VirtualHost configuration section you want to secure using SSL and add the following configuration

MAIN_TLS_CERTIFICATE = /etc/ssl.crt/
MAIN_TLS_PRIVATEKEY = /etc/ssl.key/

Then save the configuration and close the editor.

Step 4

Activate the changed Exim4 configuration.


Restart the Exim4 service.
/etc/init.d/exim4 restart


Was this article helpful?

Thank you very much for your review!

Thank you very much for your review!

You have already rated this item.

Thank you for your time.

Do you require assistance?


Telephone support

Companies that trust us

Other products you might be interested in
Website Builder
Create your own website without any programming knowledge.
Create a Website
Concentrate fully on your project! Performance and security included.
Optimize your Web site and achieve top rankings.
Website optimization
SSL Certificates
For your site, more safety protect yourself from hacker attacks.
Quickly protect