Guides, Articles and Frequently Asked Questions

  Index | Install

How do I install my SSL certificate on Exim 4.x?

Below is a description of how to set up the SSL Certificate for Exim 4.X. It is assumed that the certificate and the private key already exist on the server:

Please store the data in the corresponding directories:

Private key: /etc/ssl.key/
Certificate: /etc/ssl.crt/

Once you have fulfilled the basic requirements mentioned above, you can start setting up:
  • Log in to your server.
  • Now open the configuration file /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs with an editor of your choice.
  • Enable TLS


  • Specify the path to the certificate.


  • Specify the path to the private key.


  • Save and exit the editor.
Now activate the changed Exim4 configuration.


Now restart the Exim4 service.

/etc/init.d/exim4 restart

The certificate is now installed and TLS enabled.


In case you experience any problem or have any question, please do not hesitate to contact our support (

Was this article helpful?

We use cookies for the technical functionality of this website. With your consent, we also collect page views and other statistical data in anonymous form without disclosure to third parties.

Accept all cookies Select individually
Cookie Settings
Read Privacy Statement