Project

General

Profile

Actions

Defect #1689

closed

Xcap Server is using TLS by mutual Mutual authentication,how can I conncet to the Xcap Server?

Added by shaobo lin about 12 years ago. Updated about 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
XCAP Storage
Target version:
-
Start date:
10/11/2012
Due date:
% Done:

0%

Estimated time:
Keywords:

Description

I try to connect the xcap server by TLS way,and server response 401.From TcpDump info ,I find server request client's certificate among the three handshakes,i got no certificate ,so I send a empty certificate message,then I got 401 response,I have a question:everything I describe is normal?
If everything is normal?How can I handle 401 response,I try to send a requst contains Authentication header to handle 401,this way is right?

Actions #1

Updated by shaobo lin about 12 years ago

I have generated the authentication like this:
name : Authorization,value:Digest username="XXXXXX",
realm="sip2sip.info",
nonce="1328988604520218211893600552",
uri="xcap.sipthor.net/xcap-root/org.openmobilealliance.xcap-directory/users/sip:/directory.xml/",
opaque="08ad2ddf803ef685e9b4a828c97dcdc9-MTMyODk4ODYwNDUyMDIxODIxMTg5MzYwMDU1MiwxMTkuNi45Ny4xMDIsMTM0OTkzMDcyMw==",
qop="auth",
nc=00000001,
cnonce="1325629908624",
response="abca15824a7dfff137638c92cf0a543a"

Actions #2

Updated by Adrian Georgescu about 12 years ago

  • Status changed from New to Rejected

You do not need any certificate, you need to authenticate using http digest. Use an xcap client that works to learn how to fix your end point.

Actions

Also available in: Atom PDF