It's all about the answers!

Ask a question

Fetching WorkItem from RTC


Chandan Kumar (111) | asked Jul 13 '15, 7:46 a.m.
Hi,

I am trying to fetch WorkItem details from RTC  with my C# coding
I am using Web request to get response. But getting error  "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

Please suggest me what is process to fetch details.
Please send me if you have any sample for the same


Thanks
Chandan

One answer



permanent link
Kevin Ramer (4.5k9186201) | answered Dec 17 '15, 4:19 p.m.
edited Dec 17 '15, 4:20 p.m.
To "establish trust" one must incorporate the target's certificate as a trusted signer in the key store used by the client application.   It's been a long time since I've done any C language programming, but the secure socket library ought to have some description of how to incorporate a server certificate into the key store used by the client library.   It might also be possible in the C library for your socket connection to specify a "don't care" for the trust.

In a Java context one could use the InstallCert application ( google it, there are many examples ) to get the server certificate into the needed file.  



Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.