Skip to main content

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

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

Post a Comment

Popular posts from this blog

Removing corporate wireless restrictions completely : "The policies of your network prevent the creation of ad hoc (computer-to-computer) networks. For more information, contact your system administrator."

So i was recently tasked with removing wireless restrictions from a VP's windows 7 laptop that some infrastructure company had placed while contracted with our network, since he needed to enable setting up of adhoc connections on his laptop and he always got

"The policies of your network prevent the creation of ad hoc (computer-to-computer) networks. For more information, contact your system administrator."


A little bit of probing revealed that adhoc and peer to peer connections were blocked as evidenced by the the command 

netsh wlan show filter on an  elevated command prompt revealed that adhoc network type was blocked by group policy:

I removed the restrictions by:

1: open services.msc as administrator, scroll down to WLAN AutoConfig:

To Unlock Windows Update locked due to group policy.

To Unlock Windows Update locked due to group policy.




Open gpedit.msc and browse to the location /Computer Configuration/Administrative Templates/System/Internet Communication Management/Internet Communication Settings and double click "turn off access to all windows update features" and set it to disabled.

Migrating Outlook Profile to Office 365

We had a migration from Hosted Exchange to Office 365 and i was tasked with automating the local Outloook profile migration for Users:

I Created a GUI utility using powershell which would allow users to create an Office365 Profile and set it as default, I prepared PRF files for each version of office and an autodiscover.xml to be used for local autodiscover and uploaded them to a hosted site:

The PRF file to set settings for Office 365 are hard to find: i used the below entries:


;AutomaticallygeneratedPRFfilefromtheMicrosoftOfficeCustomizationandInstallationWizard;**************************************************************;Section1-ProfileDefaults;**************************************************************[General]Custom=1ProfileName=%UserName%-O365DefaultProfile=YesOverwriteProfile=YesModifyDefaultProfileIfPresent=false;**************************************************************;Section2-ServicesinProfile;**************************************************************[Service…