Solved

java padding exception

Posted on 2015-02-11
8
82 Views
Last Modified: 2015-02-16
We have a production server (Windows 2008).  On the weekend we ran a Windows update and a java update, to the latest patch levels.  Now Java (Version 8 update 31).  Now no one can access the network over SSL.  They all get SSL exception Invalid padding length  Null pointer exception.

I backed out the java update (We're not are version 8 update 25).  Still no luck.

I'm hoping someone has run into this and can help me figure this out.
0
Comment
Question by:geekdad1
  • 4
  • 3
8 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40605038
What are the endpoints of connection that gives "invalid padding length" ?
0
 
LVL 1

Author Comment

by:geekdad1
ID: 40606079
I think the problem is with the digital certificate at the other end of the connection.  Although they feel that it is ok, I can connect to a different server on another network without problems.  So at this point I don't know what about the certificate java is complaining about but we're staying with the most recent version 7 until such time as we can confirm that we can connect successfully with that server.

If anyone knows what changed in version 8 of Java that is causing it to generate an exception where it didn't before, that would be helpful.  They said the certificate was only configured for SHA1.  Could that be part of the issue?
0
 
LVL 62

Expert Comment

by:gheist
ID: 40606436
What are the endpoints of connection that gives "invalid padding length" ?
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 1

Author Comment

by:geekdad1
ID: 40606472
I'm not entirely sure what you are asking for.  Are you looking for URL's?
0
 
LVL 62

Expert Comment

by:gheist
ID: 40606763
Software versions????
0
 
LVL 1

Author Comment

by:geekdad1
ID: 40606973
Our end Windows 2008 R2 standard running java 8_31
Users connect to our server via remote desktop.
Our java app connects to a remote server and posts information to it's web app.
Remote server is Unix AIX version 7.1 using Websphere 5.x

The remote servers are managed by a different organization.  If you need more detailed information for the remote end, I'll have to dig and find someone who can help.
0
 
LVL 16

Expert Comment

by:krakatoa
ID: 40607721
Maybe the cryp strength is incorrect - 256, where it should be 128.
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40610741
Websphere 5.0 does not support anything better than SSLv3
Since that was broken you must switch to http for equivalent security as you always had.
java 8_31 disabled broken protocol.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 96
custom annotations 9 38
jar file executable 12 51
Basic Java Case or If-Else statement... 3 50
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question