My Oracle Support Banner

APEX on a 12.2 DB Configuring an Email Server with SSL/TLS gets ORA-24263: Certificate Of The Remote Server Does Not Match The Target (Doc ID 2365964.1)

Last updated on SEPTEMBER 10, 2021

Applies to:

Oracle Application Express (APEX) - Version 5.0 to 5.1.4 [Release 5]
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


APEX on 12.2.x  database.

When attempting to configure in APEX Instance settings an email server with SSL/TLS  (i.e Office365), the following error occurs:

ORA-24263: Certificate of the remote server does not match the target

Steps to Reproduce
The issue can be reproduced at will with the following steps:

1. Configure Email in APEX Instance with following options (using the sample of office365 but it could be any other mail server):

SMTP Host Address: <smtp_server_name_for_office365>
SMTP Host Port: <port_number_for _smt_server>
SMTP Authentication Username: <username@domain>
SMTP Authentication Password: <pwd_for above_email>
Use SSL/TLS: After connection is established                          <<<<<<<<<Default Email From Address:<username@domain>


2. Send an email from inside APEX and the error appears.


 Upgraded to or configured a new installation of APEX 5+ on a 12.2 database.


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

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

In this Document

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