Yealink Forums
Auto Provision - first time with encrypting.. - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Auto Provisioning (/forumdisplay.php?fid=14)
+--- Thread: Auto Provision - first time with encrypting.. (/showthread.php?tid=4161)

Pages: 1 2


RE: Auto Provision - first time with encrypting.. - Gilb - 07-27-2015 11:50 AM

Using that tools,
So the CFG file should not be encrypted,
set there the:
auto_provision.aes_key_in_file = 1
and only encrypte the mac.cfg file?
That's what u mean?
That's the only way?
cant encrypted both files?
thanks


RE: Auto Provision - first time with encrypting.. - kapetrosyan - 07-27-2015 11:54 AM

Yes, why do yiu need to encrypt common.cfg file?
If you have some info that should be encrypted in common.cfg, you can move that info to mac.cfg


RE: Auto Provision - first time with encrypting.. - myombo - 07-27-2015 11:29 PM

(07-26-2015 12:13 PM)kapetrosyan Wrote:  
(07-26-2015 06:46 AM)Gilb Wrote:  I csn do it slso eith dhcp option
My problem is still
The default isnt set to 1 in option:
How i set it:
auto_provision.aes_key_in_file = 1
To get the aes txt file also at the first time doing auto provision??
Thanks

I'm using the following configuration and it works for me.

auto_provision.aes_key_16.com = 1234
auto_provision.aes_key_16.mac = 1234
auto_provision.aes_key_in_file =1
custom_mac_cfg.url =
auto_provision.dhcp_option.option60_value =

Hi,

I have tried to configure my T28P using configuration files without succes.
Before asking some questions, i would like to explain what i did:

- I have my plein text cfg files
- I encrypt the with the yealink tool ( yealink -f y000000000.cfg 001565xxxx.cfg -k my_16_characters_aes_code
- I copy the encrypted files(2 .cfg files and 2 .enc files) into the root directory
- Added the server link(http) on the phone's web user interface and reboot.

After a reboot, i can see the phone fetching the 2 .cfg encrypted files succesfully but it doesnt fetch the .enc files. ---> it doesnt update the configurations.

SOME log msgs:
LIBD[621]: HTTP<6+info > Request Line: GET /yealink/y000000000000.cfg HTTP/1.1^M Jul 27 15:03:50
LIBD[621]: HTTP<6+info > Host: provision.server.fr Jul 27 15:03:50
LIBD[621]: HTTP<6+info > User-Agent: Yealink SIP-T28P 2.73.0.50 00:15:65:6e:05:f1 Jul 27 15:03:50
LIBD[621]: HTTP<6+info > process response Jul 27 15:03:50
LIBD[621]: HTTP<5+notice> response code: 200 Jul 27 15:03:50
LIBD[621]: HTTP<6+info > Content-Length: 2272 Jul 27 15:03:50
LIBD[621]: HTTP<5+notice> response process finish! Jul 27 15:03:50
LIBD[621]: HTTP<5+notice> recv : 2272 bytes Jul 27 15:03:50

ATP [621]: ATP <3+error > Decrypt file fail Jul 27 15:03:50
ATP [621]: ATP <6+info > Upgrade from mac.cfg Jul 27 15:03:50


#END log msgs

BUT when i add the my_16_characters_aes_code through the web user interface(under Common AES Key and MAC-Oriented AES Key), the auto provision works i.e it fetches the .cfg and the .enc files

==> I am still finding a way of provisioning my phone without configuring the password manually.


I would like to know if there are some configurations to make on the WUI apart from adding the server url.

Thanks in advance.


RE: Auto Provision - first time with encrypting.. - Rus - 03-28-2018 09:44 AM

(07-26-2015 12:13 PM)kapetrosyan Wrote:  
(07-26-2015 06:46 AM)Gilb Wrote:  I csn do it slso eith dhcp option
My problem is still
The default isnt set to 1 in option:
How i set it:
auto_provision.aes_key_in_file = 1
To get the aes txt file also at the first time doing auto provision??
Thanks

I'm using the following configuration and it works for me.

auto_provision.aes_key_16.com = 1234
auto_provision.aes_key_16.mac = 1234
auto_provision.aes_key_in_file =1
custom_mac_cfg.url =
auto_provision.dhcp_option.option60_value =

So, I am also a newbie to this...
I am using a <mac>.boot file which has the following code:
#!version:1.0.0.1
## The header above must appear as-is in the first line
static.auto_provision.aes_key_in_file =1
include:config "001565C9FCCF.cfg"
include:config "T46_firmware.cfg"

overwrite_mode = 1
specific_model.excluded_mode=0


both the config files referenced above are encrypted.

Before they were encrypted, the auto prov (via RPS) worked perfectly but now they are encrypted, it fails. Any idea?


RE: Auto Provision - first time with encrypting.. - wanna - 06-21-2018 10:05 AM

Please explain RPS,
If not?จีคลับ
what can I do?
Using tftp server..
Thanks..