Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the SmartServer Configuration page as described in Accessing the SmartServer IoT Configuration PageThe Network tab appears as the default SmartServer Configuration page. Once the network settings are configured for the SmartServer system, then the System tab will appear as the default.

    Image RemovedImage Added
    SmartServer IoT Network tab

    Image Removed
    Image Added
    SmartServer IoT System tab


    For SmartServer Pi, open the SmartServer Configuration page as described in Accessing the SmartServer Pi Configuration Page. The Configuration view that appears depends on your cache data. As needed, click the SmartServer IoT tab. The System tab (top) will appear as the default as shown below.

    Image RemovedImage Added
    SmartServer Pi System tab

  2. Click the OPC UA tab. 
    Image Removed
    Image Added
    SmartServer IoT OPC UA disabled status
    Image Removed
    Image Added
    SmartServer Pi OPC UA UA disabled status

  3. Enable the OPC UA Server server option and click Update.
    Image Removed
    Image Added
    SmartServer IoT OPC UA enabled status
    Image Removed
    Image Added
    SmartServer Pi OPC UA enabled status


    The OPC UA endpoint URL that is used by the OPC UA client to communicate with the OPC UA server is:

    opc.tcp://<SmartServer IoT or SmartServer Pi hostname>:55000/UA/echopcua-server

    Examples:

    opc.tcp://192.168.1.15:55000/UA/echpcua-server
    opc.tcp://smartserver-17q4aa8:55000/UA/echopcua-server

    For more information about supplying the <SmartServer IoT or SmartServer Pi hostname> variable depending on your SmartServer environment, refer to the Connectivity Testing section found in Connect to Your SmartServer.

  4. Save your changes to OPC UA configuration settings by clicking the Update buttonClick Update to save your configuration settings.

Disabling the Anonymous Connection End Point

You can disable the anonymous connection end point by modifying the OPCUA_config.xml file. With this setting change, the OPC UA Server server will only publish the secure endpoint with username/password authentication. 

To disable the anonymous connection end point, perform the following steps:

  1. Access the SmartServer Configuration page and click the OPC UA tab as described in the Setting the OPC UA Configuration section above

  2. Stop the OPC UA Server server by disabling the Enable OPC UA Server deselecting the Enabled option on the OPC UA Configuration page.

    Image Added
    SmartServer IoT OPC UA disabled status

    Image Added
    SmartServer Pi OPC UA disabled status

  3. Click Update on the OPC UA Configuration page for changes to take effect.

  4. Connect to the SmartServer at the console.

  5. Enter the following command: cd /var/apollo/data/opcua

  6. Modify the OPCUA_config.xml file by setting the <EnableAnonymousEndpoint>true</EnableAnonymousEndpoint> flag to false as indicated below.



  7. Restart the OPC UA Server server by enabling the OPC UA Serverserver option as described in the Setting the OPC UA Configuration section above.

...