[Troubleshooting] How to fix error Application Blocked by Security Settings

Error message: 
Application Blocked by Security Settings
Your security setting have blocked an application signed with an expired or not-yet-valid certificate from running.
Troubleshooting:
- Create file exception.sites at URL:
C:\Users\<username>\AppData\LocalLow\Sun\Java\Deployment\security
Content for allow app from URL http://192.168.1.2:
http://192.168.1.2