This data sink can be used to write values to an OPC-UA server. The sink supports both signed/encrypted and unencrypted communication.
Certificates must be provided directly to the service and cannot be added from the UI or REST APIs. To establish connections using a Sign
or Sign & Encrypt
security mode, the following environment variables must be provided to the extension service:
Certificate requirements:
The X509 certificate must provide the following extras:
The directory layout of the SP_OPCUA_SECURITY_DIR
look as follows:
SP_OPC_SECURITY_DIR/ ├─ pki/ │ ├─ issuers/ │ ├─ rejected/ │ ├─ trusted/ │ │ ├─ certs/ │ │ ├─ crl/
Trusted certs need to be present in the pki/trusted/certs
folder. Rejected certificates are stored in the rejected
folder.
This sink does not have any requirements and works with any incoming event type.
The hostname of the OPC-UA server.
The port of the OPC-UA server.
Can be either None, Signed or Signed & Encrypt
Choose one of the OPC-UA security policies or None
Choose whether you want to connect anonymously or authenticate using your credentials.
Anonymous: No further information required
Username/Password: Insert your username
and password
to access the OPC UA server
The namespace index in which the node should be written
The node id of the resulting node
The property of the event that should be written to the OPC-UA server