The LabVIEW OPC UA Toolkit supports both non-secure connections and secure connections between an OPC UA server and an OPC UA client.

In a non-secure connection, the OPC UA server and OPC UA client do not need to trust each other. When the OPC UA server supports a non-secure connection, the OPC UA client can connect to the OPC UA server without security.

In a secure connection, the OPC UA server and OPC UA client must trust each other to protect the data exchange between each other. To establish a secure connection between an OPC UA server and an OPC UA client, you must complete the following tasks:

  • Ensure that the OPC UA server supports a secure connection.
  • Ensure that the OPC UA server trusts the certificate file that the OPC UA client uses.
  • Ensure that the OPC UA client uses the secure message modes and corresponding security policies supported by the OPC UA server.

    A message mode specifies the encryption mode when the OPC UA server and OPC UA client send messages to each other. The OPC UA Toolkit supports the following message mode options:
    • None
    • Sign
    • Sign and Encrypt
    A security policy specifies how the OPC UA server and OPC UA client sign and encrypt messages. The OPC UA Toolkit supports the following security policy options:
    • Basic256Sha256
    • Aes128Sha256RsaOaep
    • Aes256Sha256RsaPss
  • Ensure that the OPC UA client trusts the certificate file that the OPC UA server uses.