Application directories
This application uses various directories to store relevant information, e.g. configuration or certificate files.
Installation directory
The base installation directory of the application is always relative to the TwinCAT installation directory on all operating systems.
%TcInstallDir%\Functions\TF6100-OPC-UA
The application is then installed in the following directory below this directory.
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway
Base directory for PKI infrastructure (server)
Certificate files, which are used to establish a secure communication connection with the OPC UA server of the gateway, are stored in the following directory:
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiserver
Directory for trusted certificates (server)
Client certificates in this directory are declared as "trusted".
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiserver\trusted\certs
Directory for rejected certificates (server)
Client certificates in this directory are declared as "rejected".
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiserver\rejected
Base directory for PKI infrastructure (client)
Certificate files that the gateway uses as an OPC UA client to establish a secure communication connection with the lower-level TwinCAT OPC UA Servers are stored in the following directory:
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiclient
Directory for trusted certificates (client)
Client certificates in this directory are declared as "trusted".
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiclient\trusted\certs
Directory for rejected certificates (client)
Server certificates in this directory are declared as "rejected".
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiclient\rejected
Directory for the server and client certificate
The directories for the OPC UA server and client certificate of the gateway are defined as follows, whereby a distinction is made between the directory for the public key ("certs") and private key ("private"). Server and client use the same certificate.
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiserver\own\certs
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiserver\own\private
Log files
Log files are stored in the following directory.
%ProgramData%\UnifiedAutomation\TwinCAT OPC UA Gateway\Trace