
Signature
Ian Pitt
Cogent Data Systems
201-652-2727
www.CogentDataSystems.com
Hi Ian,
You are right, the SAML authority certificate is required because the client
verifies the signature in the SAML token using that certificate. (To verify
that the token comes from the right STS and nobody tampered it).
1. Modify the SAML quickstart code to avoid the signature verification on
the client (The validation will be performed on the service anyway).
2. This approach does not work if you are using the SAML token to encrypt or
sign the messages (You will have to use SAML token over SSL). You can remove
the SAML token manager definition from the client configuration file, so the
client will see the SAML token as an opaque token (IssuedToken) and no
validations will be performed.
Sorry, I am not sure how to deploy certificates with ClickOnce.
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
> I've set up the SAML STS Quickstart to have the Token Issuer server use
> Username & Password over SSL. The SampleService still uses the SAML token
[quoted text clipped - 18 lines]
> Regards,
> Ian
Ian Pitt - 25 Jul 2006 19:02 GMT
Thx for your reply.
1. If I implemented option 1, I take it I would have to maintain two
separate code bases for the SAML routines. Since both the client and
service seem to call into the same routines. Is that correct? Or, would it
be possible to somehow identify who is calling?
2. If I remove the SAML info from the config file for the client, how will
it be able to communicate with the Service? Since the Service is expecting
a SAML token.
Finally, I did manage to deploy the certificate by building a Custom
Prerequisite for ClickOnce. It works if the user clicks install on the
publish.htm page and if they have admin access since the certificate needs
to be installed in the Local Machine store.
Which brings up another issue, why isn't the certificate looked for in the
Current User store?
> Hi Ian,
>
[quoted text clipped - 38 lines]
> > Regards,
> > Ian