Getting started
Installation & Setup
Video Tutorials
Administration
Audience Management
Email Marketing
Plug-Ins & Add-Ons
Developers
Advanced
Help
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.
- SSH into the
oempro-appcontainer: - Edit
/var/www/html/_dockerfiles/inbound-smtp-server/server.keyand set the file content to the private key of the new SSL certificate. - Edit
/var/www/html/_dockerfiles/inbound-smtp-server/server.crtand paste the new (1) SSL certificate first, then (2) paste the CA bundle of the SSL certificate. - Edit
/var/www/html/_dockerfiles/inbound-smtp-server/config.jsonand paste these two file paths toCertificateandPrivateKeyparameters. Paths must be relative. Here’s an example: - Rebuild and re-delpoy the inbound SMTP server:
- Test the TLS connection:
cd /opt/oempro/
docker exec -ti oempro_app bashcd /opt/oempro/
docker-compose build oempro_emailgateway_inbound_smtp
docker-compose kill oempro_emailgateway_inbound_smtp
docker-compose up -d oempro_emailgateway_inbound_smtpIMPORTANT:
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