Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Padding length invalid: 86  RSS feed

 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javax.crypto.BadPaddingException:
What can be a cause of the problem. FF and IE6 worked fine, however access from IE7/Vista rose this problem. I use JDK 5 on Linux.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The most common mistake that results in this exception is described [URL=this thread]here[/url]. If that's not it, post more detail about what it is you're doing; I don't think the choice of browser has anything to do with it.
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem is really weird. Under JDK 1.6 the exception looks different:

FF and IE6 do not report any problem and FF shows all certificate details. So problem seems connected to client. However the client IE7 connects to WebSphere over HTTPS without problems. However WebSphere uses IBM's JDK, so give me a little hope. My next step will check my implementation on IBM's VM.
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks everybody, the problem stored. I provided algorithm as RCA for keys generation and IE7 started working.
[ December 09, 2006: Message edited by: D Rog ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!