Public
INSTRUCTION
12 (13)
Prepared (Subject resp)
No.
ETHBAAT Jeno Balasko
1/1531-CRL 113 200/6 Uen
Approved (Document resp)
Checked
Date
Rev
Reference
ETHLEL Elemer Lelik
ETHGRY
2018-05-16
D
5.2
Installing the License Key
Perform the following steps to install the license key:
•
Save the license key somewhere in the user home directory.
The recommended name for it is
license.dat
, but it can be named
alternatively
•
It is advised to change its permissions to read-only in order to avoid
accidental modification or erasing.
•
Set the
TTCN3_LICENSE_FILE
environment variable to point to the
license file with full path name. Add this command to the login script to
do this step automatically for each login.
•
Check the validity of the license by issuing
$TTCN3_DIR/bin/compiler -v
.
The compiler will print its version and the information contained in the
license file. Also it checks the validity of the license key.
Example printout:
TTCN-3 and ASN.1 Compiler for the TTCN-3 Test Executor
Product number: CRL 113 200/4 R2A
Build date: Sep 19 2014 10:17:18
Compiled with: GCC 4.8.2
Copyright Ericsson Telecom AB 2000-2014
License information:
---------------------------------------------------------------
License file : /home/ethbaat/license_98.dat
Unique ID : 98
Licensee : Attila Balasko
E-mail : [email protected]
Company : Ericsson Hungary
Department : ETH/XZR
Valid from : Fri Sep 20 00:00:00 2002
Valid until : Tue Aug 25 23:59:59 2015
Limitation : USER
Host ID : 00000000
Login name : ethbaat
Versions : from 1.1.pl0 until 1.99.pl99
Languages : TTCN3 ASN1
Encoders : RAW TEXT BER PER XER
Applications : CODEGEN TPGEN SINGLE MCTR HC LOGFORMAT
Max PTCs : 10000
---------------------------------------------------------------
The license key is valid.
Using OpenSSL 1.0.1e 11 Feb 2013
The last line of the printout indicates the success or the problems with the
license key.
If a host-limited key is needed, perform it in the same way but do it as system
administrator. Copy it into a common directory, for example
$TTCN3_DIR/etc,
and set
TTCN3_LICENSE_FILE
in the common login
script of all users, for example, in
/etc/profile
.