How to activate TLS for Octeth Email Gateway Inbound SMTP Server

How to activate TLS for Octeth Email Gateway Inbound SMTP Server

How to activate TLS for Octeth Email Gateway Inbound SMTP Server

Octeth has a powerful, high-performance inbound SMTP server for the Email Gateway feature. This SMTP server accepts TLS connections as well. In order to activate TLS with a properly setup SSL certificate, follow these steps.

First, initiate your SSL certificate using Let’s Encrypt or other SSL certificate providers.

  1. SSH into the oempro-app container:
  2. cd /opt/oempro/
    docker exec -ti oempro_app bash
  3. Edit /var/www/html/_dockerfiles/inbound-smtp-server/server.key and set the file content to the private key of the new SSL certificate.
  4. Edit /var/www/html/_dockerfiles/inbound-smtp-server/server.crt and paste the new (1) SSL certificate first, then (2) paste the CA bundle of the SSL certificate.
  5. Edit /var/www/html/_dockerfiles/inbound-smtp-server/config.json and paste these two file paths to Certificate and PrivateKey parameters. Paths must be relative. Here’s an example:
  6. Rebuild and re-delpoy the inbound SMTP server:
  7. cd /opt/oempro/
    docker-compose build oempro_emailgateway_inbound_smtp
    docker-compose kill oempro_emailgateway_inbound_smtp
    docker-compose up -d oempro_emailgateway_inbound_smtp
  8. Test the TLS connection:
⚠️
IMPORTANT: server.crt file must contain the certificate first and then the CA bundle. server.key file must contain the private key only.

The server.crt file structure:

-----BEGIN CERTIFICATE-----
...
****************************************************************
****************************************************************
...
-----END CERTIFICATE----- 

-----BEGIN CERTIFICATE-----
...
****************************************************************
****************************************************************
...
-----END CERTIFICATE-----

The server.key file structure:

-----BEGIN PRIVATE KEY-----
...
****************************************************************
****************************************************************
...
-----END PRIVATE KEY-----

On this page

  • How to activate TLS for Octeth Email Gateway Inbound SMTP Server
💠
image

Homepage Customer Area Community Portal Contact Us

Footer Social Icons

©Copyright Octeth, Inc. All rights reserved.