Setting TLS for AXIGEN's Listeners

How to correctly enable TLS for AXIGEN's TCP/IP based modules (SMTP/POP3/IMAP)

Issue cause

AXIGEN returns 'connect error' when using STARTTLS

Solution

You can correctly set TLS for a service by doing the following steps:

1. Enable TLS for the service.
All the services have a parameter called "allowStartTLS"; set its value to "yes".

2. Assigning a certificate to a listener.
Create a certificate, if not already created.
In the SSL section of the listener, set the "certFile" parameter, giving it the path to the PEM file:
certFile: /var/opt/axigen/axigen_cert.pem

NOTE: Do not set the "sslEnable" parameter to "yes" or the listener will become SSL.