Has anybody used bootstrap tokens inside SharePoint 2010 when using a custom STS. I've been struggling with this for a few hours now. Whenever I issue the RST I get the following error message:
ID4257: X.509 certificate 'CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US' validation failed by the token handler.
I'm using SharePoint 2010 with Thinktecture Identity Server as my STS, and am trying to call a WCF service with delegation. I have this all working fine, but I just cant get delegation working using the bootstrap token.
I'm guessing that SharePoint must be encrypting the bootstrap token somehow?! Any help or pointers?
This was partially resolved by adding the SharePoint STS certificate as an encrypting certificate to the sts. Also using SPSecurityContext.SecurityTokenForContext seems to have helped in getting the ActAs token 0 but I'm not 100% convinced I've got it all working yet!