This is a migrated thread and some comments may be shown as answers.

digest authentification

0 Answers 114 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 1
Stefan asked on 18 Jan 2018, 10:04 AM

Hi,

I Need some help

I want to connet to a Server by JavaScript from my Homeserver.

The Server i want to connect, uses "Digest authentification", when I attempt, I get the following Response:

{"jsonrpc":"2.0","result":{"realm":"Insta-NetBox","domain":"","uri":"/jsonrpc//management","nonce":"d4d4cceede1cd30ad082bab2d18b03f7741db5d2","opaque":"736873746d383364706b3772746b3335356b70356d7539306636","algorithm":"sha","qop":"auth"},"id":"1"

 

I know the Password (I can log in with a web-application).

 {"jsonrpc":"2.0", "method":"userLoginDigest", "params":{"userName":"admin", "uri":"/jsonrpc//management", "qop":"auth", "cnonce":"77F63B06D02BA690D0AC929CF785F009E75F2BD" , "nc":"00000001" , "response":"ef0caa10c9dd87225e459312cd9d8686d6f6fcbc" , "realm":"Insta-NetBox", "nonce":"d4d4cceede1cd30ad082bab2d18b03f7741db5d2", "algorithm":"sha", "opaque":"736873746d383364706b3772746b3335356b70356d7539306636"}, "id":"2"}

I get "Authorization failed"....

according to RFC2617 I calculate the hashesfor the Response string and the "cnonce" value als a 40 sign random-string

Does someone have a chance to verify my calculation?

 

 

 

 

 

No answers yet. Maybe you can help?

Tags
Fiddler Classic
Asked by
Stefan
Top achievements
Rank 1
Share this question
or