Defect #1689
closedXcap Server is using TLS by mutual Mutual authentication,how can I conncet to the Xcap Server?
0%
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?
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:XXXXX@sip2sip.info/directory.xml/",
opaque="08ad2ddf803ef685e9b4a828c97dcdc9-MTMyODk4ODYwNDUyMDIxODIxMTg5MzYwMDU1MiwxMTkuNi45Ny4xMDIsMTM0OTkzMDcyMw==",
qop="auth",
nc=00000001,
cnonce="1325629908624",
response="abca15824a7dfff137638c92cf0a543a"
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.