Skip to main content
Version: 10.3.2

Configure Java applet security policies

Replace Java policy files

The C:/RPA/registry folder contains the java.policy file which provides additional permissions for jvm-agent. This agent is needed for properly connection between RPA Grid and Java applications or applets.

Copy and replace the existing java.policy file to Java run-time environment on your machine.

It is important to copy it to system run-time JRE which is used to run applets: JRE_HOME/lib/security.

If you have installed a JDK bundle, copy java.policy to JDK bundle: JDK_HOME/jre/lib/security.

note

Most likely, JRE/JDK home is located in the C:/Program Files/Java or C:/Program Files (x86)/Java folders. Check and update both x86 and x64 versions (if installed).

Fix Java security restrictions for applets

When you are running Java applets in Internet Explorer, you can get an Application Blocked by Java Security popup.

Application blocked by Java security

It happens because Java blocks applications with self-signed certificates by default. To get around this, you need to add the target site into Exception Site List.

  1. First of all, open Java Control Panel by pressing (Win + R) and entering javaws -viewer. Java control panel should be opened.

    Java Control Panel

  2. Switch to Security tab and find the Exception Site List section.

  3. Check Enable Java content in the browser.

  4. Click the Edit Site List button.

    Edit Site List button

To automate Java applets used in example configs, add the following URLs to Exception Site List:

To use your custom applets, add them to Exception Site List too.

Add applets locations to IE trusted sites

In Internet Explorer Options, perform the following actions.

  1. Switch to Security > Trusted sites.

  2. Click the Sites button.

  3. Enter the applet URL and click Add.

    IE trusted sites

Test Java Applets

Try to open a Java applet for the first time in Internet Explorer, and you will get the following prompt.

Security warning

Click Run, and the next time it won't be shown.