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

Last updated on JULY 13, 2017

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 xx.xx.xx.xx:port to xx.xx.xx.xx
[13/Jun/2017:10:43:52 +0000] conn=2926734 op=0 msgId=-1 - closing from xx.xx.xx.xx:port - 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.

ERROR
-----------------------
LDAP resultCode=91, SSLException bad_record_mac

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms