My Oracle Support Banner

[ADB-S]: Running Query Using Database Link Fails With "ORA-29003: SSL transport detected mismatched server certificate" (Doc ID 2941041.1)

Last updated on APRIL 22, 2023

Applies to:

Autonomous Database on Shared Infrastructure - Version N/A and later
Information in this document applies to any platform.

Symptoms

Created database link from one autonomous database to other autonomous database using below command:

SQL> BEGIN
DBMS_CLOUD_ADMIN.CREATE_DATABASE_LINK(
db_link_name => 'TESTDBLINK',
hostname => 'adb.uk-london-1.oraclecloud.com',
port => '1522',
service_name => '<target database service name>',
ssl_server_cert_dn => 'NULL',
credential_name => 'DB_LINK_CRED',
directory_name => 'DATA_PUMP_DIR');
END;
/

Select query using database link fails with following error:
SQL> select * from dual@testdblink;

ORA-29003: SSL transport detected mismatched server certificate

Cause

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
Symptoms
Cause
Solution
References


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