Setting up SMTP with DxEnterprise Version 17 on Linux
Applies to:
- DxEnterprise 17.0 for Linux
Summary
The following error is logged to the system when trying to configure SMTP on a Mono-based install:
DxEngine completed with status 1
Journalctl reports Caught exception: System.Net.Mail.SmtpException: Message could not be sent.
SystemIOException: The authentication or decryption has failed
System.InvalidOperationException: SSL Authentication error: RemoteCertificateNotAvailable.
Resolution
The resolution is to manually add your certificate to the trusted list for the Mono framework.
- RedHat/CentOS
- Ubuntu
sudo yum install mono-devel -y
sudo certmgr -ssl https://your.smtp.server
sudo certmgr -ssl https://your.smtp.server