Preparation - only once | Module signing 052445B00101 33554432 1 Then restart the TwinCAT system service: doas service TcSystemService restart After the respective procedure, the system accepts all signed drivers for execution. 1. During the first activation (Activate Configuration) with a TwinCAT user certificate, the target system detects that the certificate is not trusted and the activation process is aborted: For Windows: A local user with administration rights can trust the certificate via the created REG file by simply executing it: For TwinCAT/BSD ® : If the "Tcimportcert" package is not installed, install it:
pkg install TcImportCert Trust the certificate via doas tcimportcert /usr/local/etc/TwinCAT/3.1/Target/ OemCertificates/ .reg . Then restart the TwinCAT System Service or reboot the system: doas service TcSystemService restart р This process only enables C++ modules with a signature from the trusted TwinCAT user certificates to run. 2. Following this process you can use the TwinCAT user certificate for signing with the test mode of the operating system. This is configured in the project properties [ } 144] . Use the TcSignTool [ } 55] to avoid storing the password of the TwinCAT user certificate in the project, where it would also end up in version management, for example.
If you want to use the TwinCAT user certificate without TestMode for delivery, you must have the certificate countersigned by Beckhoff [ } 23] . 5.2.1.2 User certificates for delivery without test mode | User certificates for delivery without test mode System requirements - Min. TwinCAT 3.1 Build 4024 - Min. Windows 10 or TwinCAT/BSD ® (on the target system) With TwinCAT Build 4024, Beckhoff offers existing customers the issuing of a "TwinCAT 3 OEM user certificate", which can be used for signing TMX files created with TwinCAT 3 in C++. TwinCAT 3 23 Version: 1.19.1