My Oracle Support Banner

JDBC reports java.security.InvalidAlgorithmParameterException when creating SSL connection using PKCS12 wallet (ewallet.p12) and JDK17 (Doc ID 3057832.1)

Last updated on NOVEMBER 08, 2024

Applies to:

JDBC - Version 21.10 and later
Information in this document applies to any platform.

Symptoms

Java application creates JDBC connection over SSL using PKCS12 wallet (ewallet.p12).
The same application works fine when running on JDK8.
But when using JDK17, it reports the "java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty" error.

Changes

 

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
Changes
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.