Login   Register  
PHP Classes
elePHPant
Icontem

Trying to use only digest authentication

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP ONVIF  >  All threads  >  Trying to use only digest authentication  >  (Un) Subscribe thread alerts  
Subject:Trying to use only digest authentication
Summary:can't get digest auth to work
Messages:1
Author:Robert Hagens
Date:2013-08-29 19:55:23
 

  1. Trying to use only digest authentication   Reply   Report abuse  
Picture of Robert Hagens
Robert Hagens
2013-08-29 19:55:23
Hi,
I'm trying to only use digest authentication. I added the following lines to _send_request()

$user="root"; $password="password";
curl_setopt($soap_do, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);
curl_setopt($soap_do, CURLOPT_USERPWD, $user . ":" . $password); // HTTP authentication

I'm testing against a new axis camera that has root/password as its credentials. I find that the curl request against the camera times out after 10 seconds. Any thoughts?

thanks
Rob