0

I am facing the following SSL connection exception when trying to connect to remote server:

java.security.InvalidKeyException: Illegal key size or default parameters

As suggetested by this thread: Java Security: Illegal key size or default parameters?

I download the Unlimited Strength jar files ( local_policy.jar and US_export_policy.jar )

for where should I place them I did the following:

  1. Following the Installation instruction I should place them in Java home folder as follow :

    <java-home>\lib\security but still getting the same error.

  2. Also, I tried to add them to IDE home folder in my case JDeveloper 10.1.3.2 which is: ...\jdevstudio10132\jdk\jre\lib\securityand here is what happened:

    • The folder has the .jar files already and when I replace them with the updated versions I am getting the following error: java.lang.NoClassDefFoundError at javax.crypto.Cipher.getInstance(DashoA12275)
2
  • Should be $JAVA_HOME/jre/lib/security, not $JAVA_HOME/lib/security. May 6, 2014 at 7:50
  • I did that still the issue is not resolved
    – Salman
    May 6, 2014 at 7:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.