My Oracle Support Banner

Steps for Importing SMTP Server's Custom SSL Certificate into 11g / 12c / 13c OMS for Sending Email Notifications Using SSL / TLS (Doc ID 1543095.1)

Last updated on JULY 03, 2018

Applies to:

Enterprise Manager Base Platform - Version 11.1.0.1 and later
Information in this document applies to any platform.

Goal

Trying to configure the Email notification method in the 11g / 12c / 13c Enterprise Manager Console UI.

In the Setup -> Notifications -> Notification Methods page in EM 11g/12c or (Setup -> Notifications -> Mail servers page in EM 13c) below selections are made for the 'Use Secure Connection':

Case A:

'Use Secure Connection' is set to SSL option and 'Test Mail Servers' button is clicked. This fails with:

 <smtp.domain>:<port> Test failed with message: "Exception reading response" [SMTP Server:  <smtp.domain>:<port>, User name: <username>, Secure Connection: SSL]

Case B

'Use Secure Connection' is set to 'TLS (if available)' option and 'Test Mail Servers' button is clicked. This fails with:

<smtp.domain>:<port> Test failed with message: "Can't send command to SMTP host" [SMTP Server:  <smtp.domain>:<port>, User name: <username>, Secure Connection: TLS]

OR

<smtp.domain>:<port>: Test failed with message: "Could not convert socket to TLS" [SMTP Server: <smtp.domain>:<port>, User name: null, Secure Connection: TLS, if available].

 

-  From the OMS machine, it is possible to resolve the hostname / IP address of the SMTP server and there is no firewall in between.

-  Verifying the SMTP server logs indicate that the OMS has been able to reach the SMTP server but once the SMTP server sends its SSL certificate, there is no further communication from the OMS.

This occurs as the SMTP server specified has been configured with a custom SSL certificate which needs to be imported into the Enterprise Manager. This document provides the steps for importing the SMTP server's custom SSL certificate into the JDK used by the OMS, for sending Email notifications.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.