Upgrade JDK JCE Security Policy Jar
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)