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-UAThe application is then installed in the following directory below this directory.
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\GatewayBase 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\pkiserverFrom product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\pkiserverDirectory for trusted certificates (server)
Client certificates in this directory are declared as "trusted".
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiserver\trusted\certsFrom product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\pkiserver\trusted\certsDirectory for rejected certificates (server)
Client certificates in this directory are declared as "rejected".
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiserver\rejectedFrom product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\pkiserver\rejectedBase 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\pkiclientFrom product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\pkiclientDirectory for trusted certificates (client)
Client certificates in this directory are declared as "trusted".
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiclient\trusted\certsFrom product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\pkiclient\trusted\certsDirectory for rejected certificates (client)
Server certificates in this directory are declared as "rejected".
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Gateway\pkiclient\rejectedFrom product version 1.7.0, this directory is created under ProgramData:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\pki\pkiclient\rejectedDirectory 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\privateFrom 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\privateLog files
Log files are stored in the following directory.
%ProgramData%\UnifiedAutomation\TwinCAT OPC UA Gateway\TraceFrom product version 1.7.0, this directory is created as follows:
c:\ProgramData\Beckhoff\TF6100-OPC-UA\TcOpcUaGateway\trace\