Home Browser Fix Java error Unsigned application requesting unrestricted access to system

Fix Java error Unsigned application requesting unrestricted access to system

by blackMORE

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

You may also like

52 comments

Brent June 26, 2017 - 7:15 am

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

Reply
Dave July 21, 2017 - 6:44 am

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

Reply
Nimer Sale September 7, 2017 - 5:32 am

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

Reply
Leisa September 16, 2017 - 4:35 am

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.

Reply
blackMORE Ops October 10, 2017 - 8:44 pm

That’s a new Java feature. I have a post where I experienced something similar: http://www.blackmoreops.com/2017/06/08/fix-java-error-unsigned-application-requesting-unrestricted-access-to-system/

Reply
Alok April 5, 2023 - 3:11 pm

simply delete below line from java.security
path : C:\Program Files\Java\jre1.8.0_361\lib\security – open this file on notepad and find below line and simply delete it and save (you must be an administrator to do this)

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

this has worked…

Reply
Ed Malaite June 2, 2023 - 8:40 pm

It worked when i commented without #.
Thanks a lot.

Reply
John October 28, 2017 - 1:49 am

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.

Reply
christina November 16, 2017 - 8:37 am

Thank you very much. You are awesome!!

Reply
Nivas November 16, 2017 - 6:06 pm

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

Reply
Semi November 17, 2017 - 6:06 pm

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

Reply
Lucas December 5, 2017 - 12:00 am

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

Reply
Jeremy Chan December 7, 2017 - 11:06 pm

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

Reply
john December 9, 2017 - 2:40 am

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

Reply
George Parker December 13, 2017 - 4:25 pm

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

Reply
deepak December 21, 2017 - 5:37 pm

Thanks, perfect steps.

Reply
Silvia December 23, 2017 - 9:00 pm

I can not save the it after adding the #.

Reply
Shankar January 9, 2018 - 6:09 pm

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

Reply
sivarani April 19, 2018 - 5:57 am

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

Reply
Marc Lagoria April 26, 2018 - 5:49 am

thank you man

Reply
Andy Burton May 2, 2018 - 4:58 am

Life saver – thank you!

Reply
Arohi May 22, 2018 - 4:59 pm

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!

Reply
Sravan May 30, 2018 - 11:18 am

You saved a life! Works like a charm.

Reply
erik854 June 7, 2018 - 7:02 pm

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! :)

Reply
آموزش پیانو June 10, 2018 - 1:49 pm

You have a nice site and have good content

Reply
جی پی اس خودرو June 10, 2018 - 1:52 pm

javascript error big error of website in firefox
special wordpress website

Reply
seouser June 10, 2018 - 1:56 pm

You are an interesting site

Reply
feryad June 21, 2018 - 10:09 pm

thank a lot the issue has been fixed

Reply
asremusic July 15, 2018 - 8:24 pm

You are an interesting site

Reply
iranzirnevis August 4, 2018 - 9:59 pm

very good .thanks

Reply
shadow (@frontline_ops) September 14, 2018 - 10:40 pm

/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

Reply
shadow (@frontline_ops) September 14, 2018 - 10:41 pm

n.b. hash# out jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024

Reply
z4car November 12, 2018 - 3:14 pm

javascript has trouble

Reply
iranservice November 12, 2018 - 3:16 pm

Javascript is one of the main parts of the site?

Reply
a b January 20, 2019 - 8:01 am

I LUV YOU THX.

Reply
Elieza March 4, 2019 - 5:18 pm

works like a charm… love you!

Reply
Darin Wand July 25, 2019 - 12:08 pm

You are awesome! Thanks for the tip

Reply
mohsen shabani October 22, 2019 - 10:15 pm

Why it wont let me save the file?

Reply
Dave Jancan November 20, 2019 - 5:44 am

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

Reply
Yousef Hassouneh December 29, 2019 - 8:12 pm

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

Reply
Agk May 1, 2020 - 3:18 am

I did the same. But it didn’t work

Reply
Hongyun November 5, 2020 - 5:50 pm

It worked! Thanks very much for your sharing!

Reply
Robert November 18, 2020 - 7:22 am

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

Reply
Hector M October 20, 2022 - 9:01 am

Notepad, Notepad++ or any text editor

Reply
Doug Allard October 25, 2022 - 9:10 pm

Excellent!
Got my SAP PJ connection working again
Well done

Reply
McStuffins November 6, 2022 - 1:49 am

thank you! worked like a charm,

Reply
Kaan December 1, 2022 - 2:51 pm

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

Reply
cal January 17, 2023 - 3:57 am

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

Reply
Ro February 17, 2023 - 9:56 am

THANK YOU so much!

Reply
Edward Duy April 19, 2023 - 12:19 pm

Its work!
Thank you so much

Reply
anon May 24, 2023 - 6:38 pm

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

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

Reply
Ed Malaite June 2, 2023 - 8:38 pm

It worked for me. Thanks a lot.

Reply

Leave your solution or comment to help others.

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