Why do I get an error "failed to validate certificate" when running the download agent?

10 views (last 30 days)
I am trying to launch the download agent, but I get the following message:
Failed to validate certificate. The application will not be executed.
When I click on the "Details" tab on the error, I get the following message:
java.io.FileNotFoundException: C:\%userprofile%\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs (Access is denied)...

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 26 Jan 2012
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.
If the error persists, please delete the trusted.certs file in the path:
%userprofile%\AppData\LocalLow\Sun\Java\Deployment\security\
Mac OS X:
1) Open Applications - Utilities
2) Open Java Preferences.app
3) Click on the Advanced tab
5) Click the box for "Enable list of trusted publishers" under the "Security" section
6) Close out of the Java Preferences application and try re-launching the download agent.
If you still get an error, please use the manual download method.

More Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2011b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!