[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Provisioning in v81 and encryption
Author Message
Dalton Offline
Asterisk DCAP Certified Engineer
**

Posts: 10
Joined: May 2015
Reputation: 0
Post: #1
Provisioning in v81 and encryption
Hi There

I have encrypted the common CFG file and the MAC CFG file, however, the phone (T23G - v44.81.0.15) that I am testing with does not decrypt the phones. The latest document states that we are to set the parameter to "static.auto_provision.aes_key_in_file = 1". If I do this in the common file and then encrypt the common file, it doesn't know to set this parameter. So if I only encrypt rhe MAC CFG file and don't encrypt the common file, then it works.

I need to encrypt both the common and CFG files, how can I get the phone to decrypt the files if the parameter that tells it to look for the encrypted files is encrypted in and of itself?

P.S: I tried using the boot file to look for a file called "enc.cfg" that contains "static.auto_provision.aes_key_in_file = 1", but then the phone doesn't proceed to look for its common CFG and MAC CFG file. How can I also get the boot file to contain a variable to tell the phone to look for its own MAC Oriented file and Common file? Then I can share this common boot file across all endpoints telling it to look for the encrypted configuration files.

Regards
Dalton
07-25-2017 01:58 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
eagle21221 Offline
Junior Member
**

Posts: 2
Joined: Nov 2017
Reputation: 0
Post: #2
RE: Provisioning in v81 and encryption
The way i found out is a pain and alot of work.

you need to set a boot file for each phone. IE the phone's "macaddress.boot"

Then inside the "macaddress.boot" have:
########################
#!version:1.0.0.1
## The header above must appear as-is in the first line

include:config <encrypt.cfg> #<- not encrypted
include:config "y0000000000xx.cfg" #<- encrypted
include:config "macaddress.cfg" #<- encrypted

overwrite_mode = 1
########################

Inside encrypt.cfg
########################
#!version:1.0.0.1
static.auto_provision.aes_key_in_file = 1

#it seems to lose its provisioning settings after the first time you run it.
static.auto_provision.server.url =
static.auto_provision.server.username =
static.auto_provision.server.password =
########################
Then put the files in the root folder of the provision server url.

encrypt.cfg #<- not encrypted
y0000000000xx.cfg #<- encrypted
macaddress.cfg #<- encrypted

its a pain and you need to run it twice, first time it goes through and sets decrypt by file, and the second time it auto provisions it decrypts the files.

another easier way is just use a site AES key and when your setting up the auto provision server on the phone you just input the site AES key for both common and mac. Better than going through and setting up a boot for each phone.
11-09-2017 03:20 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How to disable Voicemail from .cfg in auto provisioning file? boniakowski 2 2,629 09-19-2023 12:03 AM
Last Post: boniakowski
  account.X provisioning vieri 7 7,644 02-10-2023 07:02 PM
Last Post: vieri
  Encryption utility for MP56 phones rtrefz 0 1,803 01-23-2023 10:15 PM
Last Post: rtrefz
  T46U Not Contacting Provisioning Server 88fingerslukee 0 2,675 09-06-2022 11:43 PM
Last Post: 88fingerslukee
  Need help auto provisioning a phone with Nextiva service. LittleDogTech 3 6,576 08-30-2022 06:28 PM
Last Post: complex1
Question "Trusted Certificates" and auto provisioning jobst 3 7,645 06-15-2022 11:00 AM
Last Post: dbonnell
  T46G RingCentral Provisioning jszima 0 4,600 03-07-2022 10:24 AM
Last Post: jszima
  Setting of lang.gui via remote provisioning cloudaware 1 5,219 10-26-2021 07:11 PM
Last Post: cloudaware
  zero touch provisioning & firewall gareth20202 2 8,477 10-09-2021 04:55 PM
Last Post: Phil2021
  Step by Step for Auto Provisioning nguyenp 2 11,123 08-06-2021 04:27 PM
Last Post: Phil2021

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication