Starting with CS 2010 R2, all ViewX connections to the Web Server (scripting, HTML reports) are encrypted and need authentication by default. Because of that, after upgrading to CS 2010 R2, the user may see the following dialog box after pressing a button that triggers a script:

The user may follow the instructions found at Online Help/Contents/Core Reference/Security/Setting up System Security/Define the Access Settings for WebX Clients/Define the SSL Settings for Web Clients to install a trusted certificate issued by a certification authority.
Please note that if the user clicks on OK, the script will run and there will be no more "Security Alerts" during that ViewX session. It will show up again when a new ViewX session starts.
There is a way to get rid of this dialog boxes without buying a certificate, but note that it involves trusting in the standard certificate created by ClearSCADA the first time the server runs, which is not be the best approach and have to be done at user's own risk.
Below is a description on how to "trust" CS certificate so the user will not get the Security Alerts:

1. Click on the "View Certificate" button.

2. Take note of the "Issued by" name, we will need it for following steps. Click on "Install Certificate...".

3. Click "Next" on the Certificate Import Wizard dialog box.

4. Select "Place all certificates in the following store, click on the "Browse..." button, select "Trusted Root Certification Authorities" and click on "OK".

5. Click on "Next"

6. Click "Finish".

7. Click on "Yes". Again, we are "trusting" the default certificate, which is not the best approach, so do that at your own risk.

8. Click on "OK".

After this configuration, the user should not see the following message:

But he could still see the following one:

which means the connection settings used by ViewX to connect to ClearSCADA server don't match the name in the certificate. It will happen if the connection has an IP address or "localhost" as node name, instead of the name of the server.
This can be fixed by changing the connection settings:

a. Go to All Programs/Schneider Electric ClearSCADA/Configure Connections.

b. Change the "Node Name" to the name of the server, which should be the same we took note at step 2.

If the original value of "Node Name" was an IP address, this should be enough. In case "Node Name" was "localhost", go to step c.

c. Open Windows Explorer and navigate to C:\Windows\System32\drivers\etc. Open the file "hosts" with notepad.

d. Add a line linking the computer name to "".

Save the file.