Support

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:

1
Please store the data in the corresponding directories:

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

2
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

MAIN_TLS_ENABLE =
true

  • Specify the path to the certificate.

MAIN_TLS_CERTIFICATE =
/etc/ssl.crt/example.com.crt

  • Specify the path to the private key.

MAIN_TLS_PRIVATEKEY =
/etc/ssl.key/example.com.key

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

update-exim4.conf

4
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 (info@europeanssl.eu).


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