Error -356608 and -356610 when Connecting to 3rd Party OPC UA Server Using the LabVIEW OPC UA Toolkit

Updated Oct 24, 2018

Reported In

Software

  • LabVIEW 2017 OPC UA Toolkit

Other

OPC UA Server

Issue Details

I am using the LabVIEW 2017 OPC UA Toolkit to create a client VI that will communicate with a PLC acting as an OPC UA server. When I call the Connect VI from this toolkit to connect to the server, I get one of the following errors even when I specify on both my client and server to not use a security policy:
  • Error -356608: The certificate is expired or is not yet valid.
  • Error -356610: The certificate is not trusted

Solution

To correct this issue, you can try the following:
  • Upgrade to LabVIEW and the OPC UA Toolkit version 2018 or later.
  • On the OPC Connect VI connect the Input “Trust any Server?” to a true constant. The default value is “False”, thus this may be the source of the trust issue.
  • It is possible that the OPC UA toolkit shows as an Untrusted Client on the OPC UA Server side. Changing that to Trusted Client can fix this issue.

Additional Information

There is a known issue with the 2017 version of the LabVIEW OPC UA Toolkit where these errors could be thrown even when specifying that a security policy, and therefore security certificates, should not be used. This behavior was fixed in the 2018 version and later of the toolkit. If you are unable to upgrade from 2017 to 2018, please contact National Instruments Support.

WAS THIS ARTICLE HELPFUL?

Not Helpful