My Oracle Support Banner

Intermittent SSL Negotiation Error on Handshake: java.lang.IllegalStateException: Not PKCS#1 block type 2 (Doc ID 1285772.1)

Last updated on SEPTEMBER 05, 2021

Applies to:

Oracle WebLogic Server - Version 10.3.2 and later
Information in this document applies to any platform.

Symptoms

The SSL negotiation error intermittently occurs on a stale SSL connection during the handshake.

The error is as follows:

java.lang.IllegalStateException: Not PKCS#1 block type 2

This error is seen while connecting to the Oracle Weblogic server using a .NET client.

Below is the error seen in the logs :

Stack Trace :

 

  
 
> 

 

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.