My Oracle Support Banner

DG4MSQL ORA-28500 - [Oracle][ODBC SQL Server Wire Protocol driver]SSL Handshake Failure reason [Unknown SSL Error]. {08001,NativeErr = 7570} (Doc ID 2781951.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database Gateway for SQL Server - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Database link to MS SQL Server using Oracle Database Gateway was working , but after the MS SQL Server started using SSL getting below error:

SQL> select count(1) from <table_name>@<dblink>;
select count(1) from <table_name>@<dblink>
  *
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Wire Protocol driver]SSL is required, but was not requested. {08001}
ORA-02063: preceding 2 lines from <DBLINK>

Adding below parameters to the gateway init.ora file

HS_FDS_ENCRYPT_SESSION=SSL
HS_FDS_VALIDATE_SERVER_CERT=0

Now we are getting

SQL> select count(1) from <table_name>@<dblink>;
select count(1) from <table_name>@<dblink>
  *

ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Wire Protocol driver]Socket closed. {08S01}
[Oracle][ODBC SQL Server Wire Protocol driver]SSL Handshake Failure reason [Unknown SSL Error]. {08001,NativeErr = 7570}
ORA-02063: preceding 2 lines from <DBLINK>

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.