Support

Guides, Articles and Frequently Asked Questions






  Index | Install

SSL Installation under Exim 4.x


Below is a description of how to set up the SSL certificate. This assumes that the certificate and the private key already exist on the server:

Please insert the data into the corresponding directories from:

Private key:

/ etc / ssl.key / example.com.key

certificate:

/ etc / ssl.crt / example.com.crt


If you have met the above-mentioned basic requirements, you can begin:


  • Login to your server
  • Now open the configuration file / etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs with an editor of your choice.
  • Now, add the following line to the configuration .
  • Enable TLS

    MAIN_TLS_ENABLE =
    true

  • Specify the path to the certificate .

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

  • Enter the path to the private key to

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

  • Save and exit from the editor.


  • Now activate the changed Exim4 configuration.

    update- exim4.conf

  • Now start the Exim4 service.

    / etc/init.d/exim4 restart


    The certificate is now installed and has TLS enabled.

Was this article helpful?




This site makes use of cookies to enhance browsing experience and provide additional functionality. By continuing to browse this website you are agreeing to our use of cookies. OK