Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Weblogic issue - InvalidKeyException: Illegal key size

843811Aug 26 2008 — edited Oct 15 2008
Hi All,
We have a servlet deployed on weblogic, this servlet makes an "https" request to another server using HttpUrlConnection API.
Weblogic server throws :
java.security.InvalidKeyException: Illegal key size
java.lang.IllegalStateException: Cipher not initialized

When I deploy and run the same servlet on Tomcat and Jboss it works fine without any issues. Could you please help me out, what could be the reason.

As per threads on other forums I have downloade latest jce files and put them in jre/lib/security folder , but still Weblogic gives same issue.

Thanks & Regards,
Sanjay
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2008
Added on Aug 26 2008
1 comment
434 views