Yealink Configuration Encryption Tool User Guide V9.10
Yealink Configuration Encryption Tool User Guide V9.10
i
Yealink Configuration Encryption Tool User Guide
COPYRIGHT
All title, including but not limited to copyrights, in and to the SOFTWARE PRODUCT and any copies
thereof are owned by Yealink Network Technology CO., LTD. or its suppliers. All title and intellectual
property rights in and to the content which may be accessed through use of the SOFTWARE PRODUCT
is the property of the respective content owner and may be protected by applicable copyright or other
intellectual property laws and treaties. This EULA grants you no rights to use such content. All rights not
expressly granted are reserved by Yealink Network Technology CO., LTD.
WARRANTIES
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS GUIDE ARE
SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND
RECOMMENDATIONS IN THIS GUIDE ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED
WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL
RESPONSIBILITY FOR THEIR APPLICATION OF PRODUCTS.
YEALINK NETWORK TECHNOLOGY CO., LTD. MAKES NO WARRANTY OF ANY KIND WITH
REGARD TO THIS GUIDE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Yealink Network Technology CO.,
LTD. shall not be liable for errors contained herein nor for incidental or consequential damages in
connection with the furnishing, performance, or use of this guide.
Yealink Configuration Encryption Tool User Guide
http://support.yealink.com/documentFront/forwardToDocumentFrontDisplayPage.
This guide provides detailed information on how to encrypt configuration files using
Yealink-supplied encryption tools, and how to deploy phones using these encrypted
configuration files. The information applies to MP56, T58A, T56A, T55A, T48S, T46S, T42S
and T41S Skype for Business phones running firmware version 9 or later and CP960 Skype for
Business phones running firmware version 8.
Introduction
The encryption tool encrypts plaintext <y0000000000xx>.cfg and <MAC>.cfg files (one by one
or in batch) using 16-character symmetric keys (the same or different keys for configuration
files) and generates encrypted configuration files with the same file name as before. This tool
also encrypts the plaintext 16-character symmetric keys using a fixed key, which is the same
as the one built in the phone, and generates new files named as <xx_Security>.enc (xx
indicates the name of the configuration file, for example, y000000000066_Security.enc for
y000000000066.cfg file). This tool generates another new file named as Aeskey.txt storing the
plaintext 16-character symmetric keys for each configuration file.
For the security reasons, administrator should upload encrypted configuration files,
<y0000000000xx_Security>.enc and/or <MAC_Security>.enc files to the root directory of the
provisioning server. During auto provisioning, the phone requests to download
<y0000000000xx>.cfg file first. If the downloaded configuration file is encrypted, the phone will
request to download <y0000000000xx_Security>.enc file (if enabled) and decrypt it into the
plaintext key (e.g., key2) using the built-in key (e.g., key1). Then the phone decrypts
<y0000000000xx>.cfg file using key2. After decryption, the phone resolves configuration files
and updates configuration settings onto the phone system. The way the phone processes the
<MAC>.cfg file is the same to that of the<y0000000000xx>.cfg file.
1
Yealink Configuration Encryption Tool User Guide
When you start the application tool, a file folder named “Encrypted” is created
automatically in the directory where the application tool is located.
2. Click Browse to locate configuration file(s) (e.g., y000000000066.cfg) from your local
system in the Select File(s) field.
To select multiple configuration files, you can select the first file and then press and
hold the Ctrl key and select the next files.
3. (Optional.) Click Browse to locate a target directory from your local system in the Target
Directory field.
The tool uses the file folder “Encrypted” as the target directory by default.
4. (Optional.) Mark the desired radio box in the AES Model field.
If you mark the Manual radio box, you can enter an AES key in the AES KEY field or click
Re-Generate to generate an AES key in the AES KEY field. The configuration file(s) will
be encrypted using the AES key in the AES KEY field.
If you mark the Auto Generate radio box, the configuration file(s) will be encrypted using
random AES key. The AES keys of configuration files are different.
Note AES keys must be 16 characters and the supported characters contain: 0 ~ 9, A ~ Z, a ~ z and the
following special characters are also supported: # $ % * + , - . : = ? @ [ ] ^ _ { } ~.
2
Yealink Configuration Encryption Tool User Guide
6. Click OK.
The target directory will be automatically opened. You can find the encrypted CFG file(s),
encrypted key file(s) and an Aeskey.txt file storing plaintext AES key(s).
1. Place the encryption tool “yealinkencrypt” and configuration files in the same directory.
3. Execute the cd command to locate the directory where the encryption tool is stored. For
example, execute cd /tmp to locate the /tmp directory.
3
Yealink Configuration Encryption Tool User Guide
- If you want to encrypt one or multiple specified configuration files, you need to
execute the following command:
Example:
This tool will encrypt the y000000000066.cfg file using the AES key
0123456789123456. You can find the encrypted y000000000066.cfg file,
y000000000066_Security.enc file and an Aeskey.txt file storing the plaintext AES key
0123456789123456 in the specified directory.
- If you want to encrypt configuration files in batch using a random AES key, you need
to execute the following command:
Example:
4
Yealink Configuration Encryption Tool User Guide
This tool will encrypt all CFG files using random AES keys (each CFG file
corresponds to a random AES key). You can find the encrypted CFG files, encrypted
key files and an Aeskey.txt file storing the plaintext AES keys in the specified
directory.
- If you want to encrypt configuration files in batch using a specified AES key, you
need to execute the following command:
Example:
5
Yealink Configuration Encryption Tool User Guide
This tool will encrypt all CFG files using a specified AES key. You can find the
encrypted CFG files, encrypted key files and an Aeskey.txt file storing the plaintext
AES key in the specified directory.
Note AES keys must be 16 characters and the supported characters contain: 0 ~ 9, A ~ Z, a ~ z and the
following special characters are also supported: # $ % * + , - . : = ? @ [ ] ^ _ { } ~.
static.auto_provision.aes_key_in_file 0 or 1 0
Description:
Enables or disables the phone to decrypt configuration files using the encrypted AES keys.
0-Disabled
1-Enabled
If it is set to 0 (Disabled), the phone will decrypt the encrypted configuration files using
plaintext AES keys configured on the phone.
6
Yealink Configuration Encryption Tool User Guide
None
None
2. Upload configuration files to the root directory of the provisioning server and trigger
phones to perform an auto provisioning for configuration update.
For more information on auto provisioning, refer to Yealink Skype for Business HD IP
Phones Auto Provisioning Guide.
Scenario: Encrypt configuration files and ensure no plaintext configurations and keys
are transmitted across the network
Scenario Conditions:
Scenario Operations:
2. Reboot the phone to trigger auto provisioning process. For more information, refer to
Yealink Skype for Business HD IP Phones Auto Provisioning Guide.
During auto provisioning, the phone requests to download y000000000066.cfg file first.
Because the downloaded configuration file is encrypted, the phone requests to download
7
Yealink Configuration Encryption Tool User Guide
y000000000066_Security.enc file and then decrypts it into the plaintext key (e.g., key2) using
the built-in key (e.g., key1). The phone then decrypts the configuration file y000000000066.cfg
using the key2. After decryption, the phone resolves configuration files and updates
configuration settings onto the phone system.
The way the phones process the <MAC>.cfg file is the same as the <y000000000066>.cfg file.
8
Yealink Configuration Encryption Tool User Guide