My Oracle Support Banner

Connection Test To MS SQL Server Fails With Error "SSL handshake failed: sun.security.validator.ValidatorException" (Doc ID 2936845.1)

Last updated on APRIL 12, 2023

Applies to:

Oracle Integration-OIC - Version 18.2.5 and later
Information in this document applies to any platform.

Symptoms

On : NA version, Adapter - Database - Other Databases (DB2, MySQL, SQL Server)

When trying to test existing SQL Server connection (in Azure). it fails with error.

ERROR
-----------------------
Agent Error:
Caused by: java.sql.SQLNonTransientConnectionException: [FMWGEN][SQLServer JDBC Driver]SSL handshake failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Test SQL Server connection.
 
 

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


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