Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi everyone :D

 

I have a solution based on Secure Conversation using a Security Context

Token Service (which is just a web service) that gives out SCT's, a client

program gets the issued SCT. But the problem I have is can this client then

hold Secure Conversations with one or a number of other web services.

 

I have another web service the client signs and encrypts the message and

attempts to send the response to the web service but I get the following

error.

 

Error "System.Security.Cryptography.CryptographicException: WSE523: The

CipherData contents are invalid"

 

I have read that much between blogs and MSDN, im all read out lol, BUT! I

can call a web method within the SCTS web service from the client. From my

understanding from what I have read when the Security Context Token is cached

it is cached in the AppDomain for the SCTS web service now that explains why

I can call the Web Method from the client and it works but when I call the

second Web Service it cannot access the AppDomain cache to check the SCT.

THEREFORE through WS-SecureConversation does all your Web Methods which the

client will call and sign and encrypt messages have to reside in the SCTS Web

Service.

 

Or can the client call as many other Web Services that are required of

course that reside on the same Server (have seen the implementations for web

farms).

 

So please please put me out of my misery can a client have a

SecureConversation with more than one Web Service and if they can how?

 

Thanks in advance

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...