My Oracle Support Banner

Unable to Connect to LDAPS After Updating to GlassFish Enterprise Server 2.1.1 (Doc ID 1178458.1)

Last updated on JULY 06, 2020

Applies to:

Oracle GlassFish Server - Version 2.1 and later
Information in this document applies to any platform.

Symptoms

In a Glassfish Enterprise Server 2.1 using an Enterprise profile, which uses NSS based security, connecting using LDAPS to a SSL-secured Oracle Directory Server 11g (ODS) worked. 

However, trying the same with Glassfish Enterprise Server 2.1.1, either by patching a working 2.1 installation or performing a fresh install, fails as the instance is unable to connect to the ODS backend, and throws the following error: 

Connection to LDAPS/SSL fails with java.lang.RuntimeException: Could not parse key values


This problem can be encountered when GlassFish Enterprise Server 2.1.1 is used with products like OpenSSO or Identity Manager which make use of a secure SSL-enabled Directory Server backend.

To investigate the problem, set the Java system property "-Djavax.net.debug=ssl,handshake", and repeating the steps to trigger the SSL connection attempt, the following is seen in the instance's log file:

Changes

This problem can be seen when:

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

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