# D70 provisioning : https 401 code

**URL:** <https://community.asterisk.org/t/d70-provisioning-https-401-code/45043>\
**Category:** Digium Phone API\
**Created:** [January 22, 2014, 11:20am UTC](https://community.asterisk.org/t/d70-provisioning-https-401-code/45043 "2014-01-22T11:20:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonaskellens](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@jonaskellens](https://community.asterisk.org/u/jonaskellens)\
**Post date:** [January 22, 2014, 11:20am UTC](https://community.asterisk.org/t/d70-provisioning-https-401-code/45043/1 "2014-01-22T11:20:52Z")

</div>

Hello,

I’m trying to provision a Digium D70 IP-phone from a https provisioning server.

The Digium D70 contacts the provisioning server correctly but seems to log in with the wrong credentials :

/var/log/ssl\_access\_log :

XX.XX.XX.46 - - [22/Jan/2014:12:15:09 +0100] “GET /101001/000fd3068c59.cfg HTTP/1.1” 401 481  
XX.XX.XX.46 - - [22/Jan/2014:12:15:10 +0100] “GET /101001/000FD3068C59.cfg HTTP/1.1” 401 481  
XX.XX.XX.46 - - [22/Jan/2014:12:15:10 +0100] “GET /101001/000000000000.cfg HTTP/1.1” 401 481  
XX.XX.XX.46 - - [22/Jan/2014:12:15:11 +0100] “GET /101001 HTTP/1.1” 401 481

I am absolutely sure that I have given the correct username and password in the Digium D70 phone.

I have tried logging in with my Firefox browser to the provisioning server, and that is succesful ! I get asked for the username and password, and I can see the content of the cfg-file.

/var/log/ssl\_access\_log :

XX.XX.XX.46 - 101001 [22/Jan/2014:12:32:26 +0100] “GET /101001/000fd3068c59.cfg HTTP/1.1” 200 2257

The difference I see is the “101001”, which is the username.

So why can the Digium D70 IP-phone not log in with these same credentials ? It seems to be forgetting the username “101001”.

EDIT :

I see the following in the logs of the https provisioning server :

[Wed Jan 22 14:00:34 2014] [error] [client XX.XX.XX.46] Digest: client used wrong authentication scheme `Basic’: /101001

So how do I get the Digium IP-phone to use the md5 authentication ??

---

<div class="post-metadata">

**Author:** ![malcolmd](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/malcolmd/32/5_2.png) [@malcolmd](https://community.asterisk.org/u/malcolmd)\
**Post date:** [January 22, 2014, 4:08pm UTC](https://community.asterisk.org/t/d70-provisioning-https-401-code/45043/2 "2014-01-22T16:08:07Z")

</div>

Howdy,

It won’t use MD5. It only uses Basic.

Cheers
