About this task
Certificates are strongly recommended for production environments. You can configure certificates manually, as described below, or you can set up automatic management by enabling the Global Discovery Server. For information, see Configuring Web HMI for GDS.To complete your secure endpoint setup in the Web HMI Server Configuration Manager, do the following:
Procedure
-
Ensure your COMPLICITY project is running. If necessary, redisplay Workbench, then click the green arrow in the toolbar to start the project. A pop-up showing the start sequence appears. When the sequence is complete the green arrow changes to a red square and the pop-up closes automatically.
-
Click the Web HMI Server Configuration Manager icon on the desktop, then select the OPC UA Endpoints tab and click Add to add the CIMPLICITY endpoint.,
-
In the Discovery URL field, enter the registered CIMPLICITY endpoint URI, then select Direct from the drop-down list on the right and click Discover to populate the area below with the URI and associated endpoints.
-
Click the + symbol to expand the URL and display the endpoint, then click the endpoint to display the security settings you chose when you enabled the OPC UA Server in the CIMPLICITY configuration.
-
Select a security setting and click Server Certificate.
-
Click Trust > Close.
-
With the security setting still selected, click Server Credentials, then enter the user name and password for your CIMPLICITY project and click Test. The initial test fails and a certificate appears in your project's rejected folder.
-
Navigate to C:\Program Files (x86)\Proficy\Proficy CIMPLICITY\projects\<project name>\pki and open the rejected folder.
-
Copy the certificate in the rejected folder to the pki\trusted\certs. Create the trusted and certs folders if necessary.
-
Click OK to close the Server Credentials dialog, then click OK to close the Configure Endpoint dialog.
-
Click Save to save the configuration and exit. You may receive a prompt to have the tool restart key services so changes made in this tool are picked up.