Configuring the OPC UA Endpoint in Web HMI

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

  1. 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.
  2. 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.,
  3. 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.
  4. 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.
  5. Select a security setting and click Server Certificate.
  6. Click Trust > Close.  
  7. 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.
  8. Navigate to the PKI subfolder of your project folder and open the rejected folder.  
  9. Copy the certificate in the rejected folder to the pki\trusted\certs. Create the trusted and certs folders if necessary.
  10. Verify the connection again.
    The Log will now display a success message.
  11. Click OK to close the Server Credentials dialog, then click OK to close the Configure Endpoint dialog.
  12. 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.