Sunday 30 October 2011

Java Error: "Failed to validate certificate. The application will not be executed."

 
Someone got this issue while trying to run a scottrade.com applet.
clip_image001
To fix this
1: open java webstart by typing javaws -viewer,in a command prompt close the cache page and open up the security page. Click certificates and remove the one belonging to the application. If this doesn’t fix it …
2: Check the time and date on the PC.
3: Go to "C:\Users\YOUR USERNAME HERE\AppData\LocalLow\Sun\Java\Deployment\security" and delete trusted.certs.
4: Open control panel Open the Java control panel and go to the "Advanced" tab. Open Security and then General (if available), turn the option "Allow user to grant permissions to content from an untrusted authority" to on.
clip_image002

12 comments:

  1. I just tried this but it did not work to get my problem solved. I am trying to to run some software called eSellerPro to run but since upgrading my java I get this error all the time.

    ReplyDelete
    Replies
    1. I need more info about your environment, is this the exact error you are getting and what version of java is installed on your PC.....

      Delete
  2. If you receive this error, this could be due to an untrusted publisher certificate file. To workaround the error, please follow the steps below depending on your Operating System:

    Windows:

    1) Open Control Panel
    2) Click on the Java icon to open the Java Control Panel
    3) Click on the Advanced tab and then Security (+) box
    4) Click on the General (+) box
    5) Click the box for "Enable list of trusted publishers"
    6) Close out of the Java Control Panel and try re-launching the download agent.

    ReplyDelete
  3. Sounds like a very insecure solution. The uninstall, delete Sun directories, reinstall is a much better solution!

    ReplyDelete
  4. This worked for me. Thank you. I had even tried uninstalling and reinstalling and kept getting the "Failed to validate certificate". Deleting that security file (which for me was 0kb) worked.

    ReplyDelete
  5. meni je java verzija 21 i stvarno mi je vise dojadilo da je instaliram, posto se ja ne razumem bas u kompijuetere, i nervira me sto se to stalno ponavlja failed to validate sertifikat, kako da popravim to? unapred hvala...

    ReplyDelete
  6. option 3 worked for me. Thanks a million

    ReplyDelete
  7. Option 2 worked like a charm. Thanks for your help

    ReplyDelete
    Replies
    1. I'm faced with the problem. But i found a simple way to access my SAN BROCADE SWITCH by typing the "javaws -viewer" on the Start Windows Menu.
      And Java cache viewer is launched, so just double-click to the wurm concerning your device that you wanna access to. And here you go.

      Azou

      Delete
  8. This is what worked for me. Hopefully it helps

    Windows:

    1) Open Control Panel
    2) Click on the Java icon to open the Java Control Panel
    3) Click on the Advanced tab and then Security (+) box
    4) Click on the General (+) box
    5) Uncheck the box for "Enable online certificate validation"
    6) Close out of the Java Control Panel and try re-launching the download agent.

    ReplyDelete
  9. I tried this it worked.Thank you very much Mr. Tausif Khan.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete

Detect autopilot session

  Ensuring that some apps only install during autopilot is not easily accomplished, you can use the below powershell script as a requiremen...