SSL handshakes randomly fail on Java 7
Issue
- SSL/TLS handshakes with Diffie-Hellman cipher suites randomly fail from invalid padding exceptions.
- IOException in getSession(): javax.net.ssl.SSLHandshakeException: Invalid padding
- javax.net.ssl.SSLHandshakeException: Invalid Padding length: 79 (number may vary)
Environment
- Red Hat Enterprise Linux (RHEL) 6
- OpenJDK 7
- Oracle JRE 1.7
- JBoss Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.