My Oracle Support Banner

Sometimes SSL Connections Using ECDH Fail with "javax.net.ssl.SSLHandshakeException: Invalid Padding Length" (Doc ID 1991236.1)

Last updated on NOVEMBER 06, 2018

Applies to:

Java Platform, Standard Edition - Version 7 and later
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on x86 (32-bit)
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)
This only happens when Java is relying on PKCS#11 from Solaris.

Symptoms

Sometimes clients fail to connect to a Java application running on a Solaris server when using ECDH ciphers.  On the Java application side, a "javax.net.ssl.SSLHandshakeException: Invalid Padding length <

 

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
References


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