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
From product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\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
From product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\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
From product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\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
From product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\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
From product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\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
From product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\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
From product version 1.7.0, these directories are created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\pkiserver\own\certs
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\pkiserver\own\private
Log files
Log files are stored in the following directory.
%ProgramData%\UnifiedAutomation\TwinCAT OPC UA Gateway\Trace
From product version 1.7.0, this directory is created as follows:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\trace\