OPC-UA Server: DNS Name used in certificate created by zenon.

OPC-UA Server: DNS Name used in certificate created by zenon.

The creation of the DNS name in the OPC-UA Server certificate may vary depending on the zenon build and if the machine is within a Workgroup or is part of a Domain.
This information can be verified in the certificate, the certificates files (*.der) created by zenon can be found in:
C:\ProgramData\COPA-DATA\System\PKI\CA\certs

For the zenon version 11 Build 126436 and older, the  the DNS Name is created accordingly the scenarios bellow:
1st case: Local machine with added suffix or Workgroup.
DNS Name don't use FQDN, only localhost name.


2nd case: Domain machine with a Service Engine being run by a local user.
DNS name always use the FQDN.

From the zenon version 11 Build 157700 up to newer zenon versions (12, 14...) and builds the DNS Name is created accordingly the scenarios bellow:
1st case: Local machine with added suffix or Workgroup.
DNS Name created contains the FQDN.
Preview

2nd case: Domain machine with a Service Engine being run by a local user.
DNS name always use the FQDN.

In the case that there is a mismatch between the DNS Name in the certificate and the Name of the machine, causing the startup failure of the OPC-UA Server.

Eg: Workgroup machine or a machine using a suffix and a newer zenon build. do the steps bellow:
  1. Open the directory  C:\Windows\System32\drivers\etc\;
  2. Open the file hosts and add an entry with the localhost IP and the same name as it is issued in the certificate.