2 Replies - 1687 Views - Last Post: 16 March 2015 - 09:50 AM

#1 alphawolf918  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 18-August 14

Java Applet Security Issues At Work

Posted 16 March 2015 - 07:16 AM

Hello all. I'm part of the I.T. support at my job and there's been a bit of a bump in the road for the past couple of weeks. Neither my boss nor I can figure this out. Okay, so our company prints shipping labels using Java applets, back in the warehouse. We have tried it in all known browsers, however, maybe 1 out of every 5 applets are blocked by security issues, such as this Java Exception:

com.sun.deploy.security.BlockedException: Your security settings have blocked an application signed with an expired or not-yet-valid certificate from running
	at com.sun.deploy.security.BlockedDialog.show(Unknown Source)
	at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)
	at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.isTrustedByTrustDecider(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.getPermissions(Unknown Source)
	at sun.plugin2.applet.Applet2ClassLoader.getPermissions(Unknown Source)
	at java.security.SecureClassLoader.getProtectionDomain(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.access$100(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
	at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


I have tried reinstalling Java, but that did not help either. The site we use (eBay) was also added to the "accepted sites" list for the certificate security field, but it seems to reset itself (which we do not have these PCs setup to do, believe me -- that would be a nightmare). What I can't figure out is how it can only cause a problem every so often. If this were a true certificate/security issue, would it not do this for every applet, rather than a select few? I've scoured the Web and performed all recommended actions, none of which have solved the problem. I realize this is not a coding issue, so if this is in the wrong forum then I do apologize. However, as of now the employee using this label printing feature (on the problematic PC) has to, when this error occurs, use a different employee's computer, temporarily forcing him to wait on his own work, which slows down production time. The only thing I have not done is completely uninstall Java and reinstall it, but before I do that I want to make sure that there are not any other fixes for this. I am also curious about the cause of this and what can be done to prevent it from happening again.

Thank you so much.

- Paul

P.S.: I have attached two screenshots of the error.

Attached image(s)

  • Attached Image


Is This A Good Question/Topic? 0
  • +

Replies To: Java Applet Security Issues At Work

#2 CasiOo  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1571
  • View blog
  • Posts: 3,529
  • Joined: 05-April 11

Re: Java Applet Security Issues At Work

Posted 16 March 2015 - 09:31 AM

Quote

Your security settings have blocked an application signed with an expired or not-yet-valid certificate from running

Wouldn't it be easier to just sign the application :) ?
Get in contact with the developer, and make him sign it for you

Your question is not programming related, and is therefore moved to the Software Support section
Was This Post Helpful? 0
  • +
  • -

#3 g00se  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3464
  • View blog
  • Posts: 15,676
  • Joined: 20-September 08

Re: Java Applet Security Issues At Work

Posted 16 March 2015 - 09:50 AM

I agree with that. You're gambling in a big way unless it's signed
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1