0

I have a WAR file that is deployed on Apache Tomcat. The WAR file is running an Applet via a browser. Since Java 7u45, JRE is giving me an error of "An unsigned application from the location below is requesting permission to run".

My questions how do I sign an Applet if the files in my Applet are not jar files, but .class files?

Below is an example of my applet tag I use in my JSP page.

<applet code=TicTacToe.class 
        width=120 height=120>
</applet>

How do I make the error "An unsigned application from the location below is requesting permission to run" go away. This error started occurring in Java 7u45. Apparently this is part of the enhanced security features.

  • Don't sign applets, if you sign them it will not working. –  Oct 28 '13 at 18:29
  • How do I make the error "An unsigned application from the location below is requesting permission to run" go away. This error started occurring in Java 7u45. Apparently this is part of the enhanced security features. – user2274599 Oct 28 '13 at 18:42

1 Answers1

0

You can't. The signature information is contained in the META-INF/MANIFEST.MF file, which is part of a jar file. So you will need to package it.

Wouter
  • 3,976
  • 2
  • 31
  • 50
  • I tried packaging all my class files in a jar. Now, the applet will not load. – user2274599 Oct 28 '13 at 18:36
  • Did you sign it correctly? http://stackoverflow.com/questions/908748/how-do-i-sign-a-java-applet-for-use-in-a-browser – Wouter Oct 28 '13 at 19:26
  • of course it's signed correctly, because I am using the same certificate for another application using Java webstart. I now need the applet signed – user2274599 Oct 29 '13 at 12:36