Using the My Oracle Support Portal (MOSC)

MOSC Banner

Upgrade JDK JCE Security Policy Jar

edited Feb 22, 2012 3:23AM in Using the My Oracle Support Portal (MOSC) 1 commentAnswered
Hi,

I want to call servlet of some other application (outside of network – third part application).  My application is deployed on Weblogic Application Server 10.3.4.  The standalone application can call the outside servlet successfully. However, when I plug in the same call to an application (deployed on server), it is throwing an error – failed hostname verification check

To handle this error, I added one property in Weblogic server start up –

-Dweblogic.security.SSL.ignoreHostnameVerification=true ^

Even adding above configuration, I got following error -

java.security.InvalidKeyException: Illegal key size at javax.crypto.Cipher

In order to avoid above InvalidKeyException, I replaced latest JCE jars (Version 6.0 which is compatible with the installed java on server)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center