Owning Palette: OPC UA VIs

Requires: OPC UA Toolkit

Creates a pair of certificate files with the name you specify. You can use the certificate files to create an OPC UA server or connect to an OPC UA server.

The start time of the certificate file is the current system time. The lifetime is four years.

Example

certificate name in specifies the name of the certificates to create. If you do not specify this input, this VI creates a pair of certificates with the default name of Default OPC UA.
key length specifies number of bits for the encryption key to be used for certificates to create. If you do not specify this input, default key length would be 1024 bits.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
certificate name out returns the name of the certificates that you create. certificate name out contains only the filename without the file extension. Both the public key and the private key use the same certificate name but with different file extensions. Public key commonly appears with a .der file extension and private key has a .pem file extension.
certificate path returns the full path of the certificate file. You can find the public key file in this path.
exist? returns whether a certificate with the same name already exists. If a certificate with the same name already exists, this VI does not create the certificate.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the OPC UA Demo.lvproj in the labview\examples\Data Communication\OPCUA directory for an example of using the Create Certificate VI.

History

  • OPC UA Toolkit 2025 Q4: added support for key length.