Automated creation via a command line tool
![]() | OEM certificates should only be used in a secure environment Since generating an OEM application license requires handling of the OEM certificate and its password, the process should only be carried out in an environment that is protected against malicious software (= hardened, protected PC), in order to prevent the password for the OEM private key being accessed by malicious software. |
![]() | Prerequisite: TwinCAT.XAE.PublicSDK If you want to automatically sign an OEM application license with the OEM certificate, the TwinCAT.XAE.PublicSDK package must be installed. This is part of the TwinCAT Engineering (XAE) installation. If TwinCAT Engineering is not installed, this package must therefore be installed separately. |
The TwinCAT 3 Engineering uses a command line tool (TcSignTool.exe) to issue (sign) OEM licenses. This tool can also be called from a user program for the automated issuing of OEM licenses.
In a TwinCAT 3 installation, TcSignTool.exe is located in the following path (default setting):
TwinCAT Build 4024: C:\TwinCAT\3.1\SDK\Bin\
TwinCAT Build 4026: C:\Program Files (x86)\Beckhoff\TwinCAT\3.1\SDK\Bin\
Call parameters
tcsigntool licsign /f certificatefile [/p password] [/i issueTime] [/d validDays] [/q] licfile1 [licfile2]
- certificatefile: OEM certificate file
- password: password for the OEM certificate
- issueTime: format yyyy-mm-ddThh:mm:ss (default value = current time)
- validDays: default value = unlimited
- licfile<n>: license request or response file with extension '.tclrq' or '.tclrs'.
License request files with the extension '.tclrq' will be renamed to '.tclrs'. - /q Quiet Mode
- Return values: 0 = succeeded, 1 = failed
