IDM apps secure SMTP setup

Hi!

We are trying to enable TLS and use basic authentication when sending from the IDM (engine) and IDM Apps.

(to an Exchange server, enabled for Basic Auth and TLS on port 25)

For the IDM engine this works fine:

1. On the Notifications Collection server settings: Enable TLS, enable credentials

2. Add named password to the 'send-email-from-template' action.

IDM Apps, however, is a different story: it uses most of the information from the Notification collection, you only have to add the password again and enable TLS in configupdate.

However, once you enable TLS, IDM Apps defaults to use port 465 to connect to the email server. And we get this message after using configupdate:

SEVERE: [CFG] Unexpected errors occurred while attempting to connect to the following endpoints:
  <smtp server domain name>:465 javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
This may result in runtime errors in the application.

And it fails to send emails.

Added a second connector to Exchange, using port 465, same properties as the port 25 one for the IDM engine.

Still the same error from configupdate, and it fails to send emails. (firewall is not the issue)

Turning off authentication and TLS in configupdate and then all works fine.

Any clues on what could be the issue?

Any way to get more debug info from javax.net.ssl.SSLException?

(configupdate --debug true does not help)

Regards,

Tor Harald Lothe