How to Fix: Java 'Expired or not-yet-valid Certificate' Error
Infopackets Reader Tom G. writes:
" Dear Dennis,
I recently had to reinstall Windows, which also required reinstalling all my programs. Ever since then, whenever I try to access my work's website (which uses a Java applet), I receive an error message that says: 'Your security settings have blocked an application with an expired or not-yet-valid certificate from running.' I cannot proceed past that, and am therefore unable to access the website. The Java applet worked fine before I reinstalled Windows, so how can I get past this error? "
My response:
I had a sneaking suspicion that the website Tom was trying to access had an invalid security certificate (my guess is that it was likely expired); I asked Tom if he would like me to connect to his computer using my remote desktop support service to have a closer look. He agreed.
Tom demonstrated the website applet, and sure enough the error message: "Your security settings have blocked an application with an expired or not-yet-valid certificate from running" appeared once again.
How to Fix: Java 'Expired or not-yet-valid Certificate' Error
I also noticed that the website Tom was trying to access was using secure HTTPS (it had https://somesite.com in the URL instead of http://somesite.com) - however, the padlock which was displayed in the web browser's URL had a (!) warning next to it - meaning there was a problem with the HTTPS certificate.
By clicking on the padlock with the (!) warning, the browser reported "Connection not secure"; I then clicked to view "More information" and then on the "View certificate" page, I could clearly see that the HTTPS certificate had in fact expired some time last year. This was the reason that the Java applet was reporting an error and would not proceed.
A word of caution: normally when an invalid certificate warning is displayed in a web browser, you should steer clear of the site - especially if it's your banking website. However, in Tom's case he recalled having to go through this process before - so he was certain it was safe. In this case, I suggested adding a website exception to the Java Control Panel so Tom could continue working, even with the expired HTTPS certificate. I set that up for Tom, and he was then able to access the website.
Below I'll explain how to fix "Your security settings have blocked an application with an expired or not-yet-valid certificate from running" error step-by-step:
- The first thing you need to do is access the Java Control Panel via the Windows Control Panel. To do so, click Start, then go to the Control Panel. Once the Control Panel window is displayed, look for the Java icon and double click it.
Tip: if you don't see the Java Control Panel icon, you can also access it via the command line. To do so: click Start, then type in "cmd" (no quotes); wait for CMD.EXE or "Command Prompt" to appear in the list, then right click it and select "Run as Administrator". The command line should now appear; use your mouse to highlight the text below:
c:\Program Files\Java\jre7\bin\javacpl.exe
c:\Program Files (x86)\Java\jre7\bin\javacpl.exe
echo this is a dummy line
Right click over the above text and select "Copy". Then, go to the command prompt you just opened up, and right click in the middle of the window and select "Paste". The Java Control Panel should now be displayed.
- In the "Java Control Panel" window, click the "Security" tab near the top. Near the bottom of the "Security" window, you should see a heading that says "Exception List"; click the "Edit Site List..." button. The "Exception Site List" window should now appear.
- Next, go to your web browser and enter in the web address of the site that is giving you the problem. Once you've visited the site, copy the website address to your clipboard. To do so: right click over top of the web address in the browser and select "Select All"; the entire web address should now be highlighted. Right click over top of the highlighted web address text, then select "Copy" to copy it to your clipboard.
- Go back to the "Java Exception Site List" window, and click the "Add" button.
Then, ! IMPORTANT ! left click the empty "add" field that appears to select it, then very carefully press CTRL + V on the keyboard (make sure you only tap 'V' once!) in order to paste the entire URL into the field. If the web address doesn't appear in the "add" field, then go back to Step #3 and copy the address again. When complete, click the "OK" button, then close the Java Control Panel window.
- Close your web browser and then try and access the website that previously gave you the "Your security settings have blocked an application with an expired or not-yet-valid certificate from running" error. The error should not appear any longer.
I hope that helps.
Additional 1-on-1 Support: From Dennis
If all of this is over your head or if you are stuck and otherwise need help with the "Your security settings have blocked an application with an expired or not-yet-valid certificate from running" error, I can help using my remote desktop support service. Simply send me an email briefly describing the issue and I'll get back to you as soon as I can.
Got a Computer Question or Problem? Ask Dennis!
I need more computer questions. If you have a computer question - or even a computer problem that needs fixing - please email me with your question so that I can write more articles like this one. I can't promise I'll respond to all the messages I receive (depending on the volume), but I'll do my best.
About the author: Dennis Faas is the owner and operator of Infopackets.com. With over 30 years of computing experience, Dennis' areas of expertise are a broad range and include PC hardware, Microsoft Windows, Linux, network administration, and virtualization. Dennis holds a Bachelors degree in Computer Science (1999) and has authored 6 books on the topics of MS Windows and PC Security. If you like the advice you received on this page, please up-vote / Like this page and share it with friends. For technical support inquiries, Dennis can be reached via Live chat online this site using the Zopim Chat service (currently located at the bottom left of the screen); optionally, you can contact Dennis through the website contact form.
Most popular articles
- Which Processor is Better: Intel or AMD? - Explained
- How to Prevent Ransomware in 2018 - 10 Steps
- 5 Best Anti Ransomware Software Free
- How to Fix: Computer / Network Infected with Ransomware (10 Steps)
- How to Fix: Your Computer is Infected, Call This Number (Scam)
- Scammed by Informatico Experts? Here's What to Do
- Scammed by Smart PC Experts? Here's What to Do
- Scammed by Right PC Experts? Here's What to Do
- Scammed by PC / Web Network Experts? Here's What to Do
- How to Fix: Windows Update Won't Update
- Explained: Do I need a VPN? Are VPNs Safe for Online Banking?
- Explained: VPN vs Proxy; What's the Difference?
- Explained: Difference Between VPN Server and VPN (Service)
- Forgot Password? How to: Reset Any Password: Windows Vista, 7, 8, 10
- How to: Use a Firewall to Block Full Screen Ads on Android
- Explained: Absolute Best way to Limit Data on Android
- Explained: Difference Between Dark Web, Deep Net, Darknet and More
- Explained: If I Reset Windows 10 will it Remove Malware?
My name is Dennis Faas and I am a senior systems administrator and IT technical analyst specializing in cyber crimes (sextortion / blackmail / tech support scams) with over 30 years experience; I also run this website! If you need technical assistance , I can help. Click here to email me now; optionally, you can review my resume here. You can also read how I can fix your computer over the Internet (also includes user reviews).
We are BBB Accredited
We are BBB accredited (A+ rating), celebrating 21 years of excellence! Click to view our rating on the BBB.