Weblogic issue - InvalidKeyException: Illegal key size
843811Aug 26 2008 — edited Oct 15 2008Hi 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