My Oracle Support Banner

Java Application Connecting To ODSEE Throws SSLException: Received Fatal Alert: Bad_record_mac (Doc ID 2282271.1)

Last updated on DECEMBER 16, 2019

Applies to:

Oracle Directory Server Enterprise Edition - Version 6.0 and later
Information in this document applies to any platform.

Symptoms

When the Java application connects to ODSEE over SSL -

LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server <HOST>:<PORT>: javax.net.ssl.SSLException: Received fatal alert: bad_record_mac')

In the ODSEE access log -
[13/Jun/2017:10:43:52 +0000] conn=2926734 op=-1 msgId=-1 - fd=112 slot=112 LDAPS connection from <IP_ADDR>:<CONN> to <IP_ADDR>
[13/Jun/2017:10:43:52 +0000] conn=2926734 op=0 msgId=-1 - closing from <IP_ADDR>:<CONN> - B4 - Server failed to flush BER data back to client -
[13/Jun/2017:10:43:52 +0000] conn=2926734 op=-1 msgId=-1 - closed.
[13/Jun/2017:10:43:52 +0000] conn=2926733 op=-1 msgId=-1 - closed.


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.