Fix Java error Unsigned application requesting unrestricted access to system

Tried to login to one of my server that requires Java and immediately got this error:

Unsigned application requesting unrestricted access to system. The following resource is signed with a weak signature algorithm MD5withRSA and is treated as unsigned

After some research on Google I found that the root cause was JAR files signed with MD5 algorithms. Apparently Java/Oracle decided to play smart suddenly and now they are treating JAR files signed with keySize less than <1024 as unsigned JARs. Read more here.

Fixing Unsigned application requesting

You can fix this by simply commening out jdk.jar.disabledAlgorithms in the file of lib/security/java.security

  1. In my Windows it’s located at:
    C:\Program Files (x86)\Java\jre7\lib\security\java.security
  2. In MacOS it’s located at
    /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/java.security
  3. In Linux? – readers please comment below

Fix Java error Unsigned application requesting unrestricted access to system - blackMORE Ops

I simply edited the file and added a hash # in front of the line below, save and run the JNLP File again and it worked.

# jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024

In some cases you may need to clear browser cache and Java Temporary files. Browser cache is normal, just delete everything including history form the beginning of time, all cookies, downloaded applications etc. For Java Temporary files do it from Control Panel > Java >

Now you can argue if this is secured? Duh, no … but when you’re about to make a change and there’s no alternative, then this is a quick and dirty fix. An alternative might be changing it to <128 Keysize or something else instead of commenting it out. Use your judgement i.e.

jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 128

52 comments

  1. awesome! Fixed my issue after adding the IPs to the exception list failed.

  2. Thank you, thank you, thank you! Finally able to get into my Cisco ASA 5505 ASDM again!

  3. I have the cisco 5510, using asdm 6.3.(1) and this fix worked thank you!

  4. It did not work if I put “jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 128”, but it did work when I commented the whole line out.

  5. Thank you sooo much! I was getting crazy trying to figure out how to access my old Intelligent House Control (IHC). All other attempts I made didn’t work, but this one did.

  6. Thank you very much. You are awesome!!

  7. thank you so much… was struggling to get out of this error… you really saved time.. gr8

  8. thanks that worked. file in ubuntu /etc/java-8-oracle/security/java.security

  9. Thank you, it worked for me. I was running Lenovo-RD650 consol and the Java was not opening.

  10. Thank you very much, it really works. Much better then those copy and past!

  11. Thanks, this worked great! connecting to a poweredge t710 idrac 6

  12. Beautiful, worked for me first go :). Thanks.

  13. I can not save the it after adding the #.

  14. In Linux i have commented out the property in all possible places but still getting the same error ? Any alternative thoughts ??

  15. Thank you so much. It helped me. But I have commented out “jar..”

  16. thank you man

  17. Life saver – thank you!

  18. I am using java 1.5 and i am not able to see the line ‘jdk.jar.disabledAlgorithms=MD2..’ in java.security file. could you please provide me another way to resolve same issue.

    It will great help to me!

  19. You saved a life! Works like a charm.

  20. I usually don;t reply or write an comment on websites which help me do my work, but this solution for my iDrac/JAVA problem works just perfect on Java8 !! Thanks a lot for this great tip, it really saves my day! :)

  21. You have a nice site and have good content

  22. javascript error big error of website in firefox
    special wordpress website

  23. You are an interesting site

  24. thank a lot the issue has been fixed

  25. You are an interesting site

  26. very good .thanks

  27. /usr/java2/lib/security/java.security and /usr/java/jre/lib/security/java.security

    jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024

    Worked for me in Linux

  28. javascript has trouble

  29. Javascript is one of the main parts of the site?

  30. I LUV YOU THX.

  31. works like a charm… love you!

  32. You are awesome! Thanks for the tip

  33. Why it wont let me save the file?

    • The file writes to the file does not allow editing go to properties and security and add full user rights to the file.

  34. I’ve hashed the line mentioned onto my windows pc, but still didnt’ work ? is it onto server ?

  35. It worked! Thanks very much for your sharing!

  36. What do I use to open the file to edit it?

  37. Excellent!
    Got my SAP PJ connection working again
    Well done

  38. thank you! worked like a charm,

  39. I am using windows 10. Unfortunately, these steps didn’t work.

  40. awesome! still works with java 8 351!! thanks.

  41. THANK YOU so much!

  42. Its work!
    Thank you so much

  43. on Linux is //lib/security/java.security

    Install location can be /opt or /usr/lib/jvm, but also others depending on your systems

  44. It worked for me. Thanks a lot.

Leave your solution or comment to help others.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from blackMORE Ops

Subscribe now to keep reading and get access to the full archive.

Continue reading

Privacy Policy on Cookies Usage

Some services used in this site uses cookies to tailor user experience or to show ads.