Welcome to Windows Communication Foundation (WCF)
Top Tasks :

WCF Team Bloggers

Monday, January 21, 2008 - Posts

  • Controlling Certificate Validation

    How do I configure the validation process for certificates specified in the service credentials section? There are several configuration settings for controlling certificate validation although they appear in different places depending on what credentials you're talking about. I'll talk about the settings first and then talk about where they appear. The four configuration settings you'll see are: certificateValidationMode for controlling how certificates get validated (ChainTrust/None/PeerTrust/PeerOrChainTrust/Custom) customCertificateValidatorType for specifying the type used by the Custom validation mode ("namespace.typeName, [,AssemblyName] [,Version=version number] [,Culture=culture] [,PublicKeyToken=token]") revocationMode for controlling how the certificate revocation list is checked (NoCheck/Online/Offline) trustedStoreLocation for controlling which system store is checked for negotiated certificates (CurrentUser/LocalMachine) Here's where you'll find those settings. All of these XML paths are relative to the serviceCredentials section. When talking about a certificate for the client half of a duplex service, clientCertificate/authentication When talking about a certificate for a custom issued token, issuedTokenAuthentication. Controlling certificate validation through configuration for issued tokens is only available starting with the Orcas release. When talking about a certificate for a peer node, peer/peerAuthentication Next time: Throwing Exceptions from Service Authorization Manager Read More...
  • "Secrets are the very root of cool"

    Get Spook Country . Read chapter 20; it ends with the above quote. Read chapter 29: Not just hot [Szechuan], but correctly, expertly seasoned. Hot like when they brought you a plate of lemon slices, to suck on as needed, to partially neutralize the burn. It has been a long time since Milgrim had had food like that. It had been a long time since he'd eaten a meal that had provided any memorable pleasure at all. The Chinese he was most familiar with these days was along the lines of the stepped-on Cantonese they brought him at the laundry on Lafayette, but just now he was recalling that sensation, strangely delightful, of drinking cold water on top of serious pepper-burn -- how the water filled your mouth entirely, but somehow without touching it, like a molecule-thick silver membrane of Chinese antimatter, like a spell, some magic insulation. I love William Gibson. Read More...

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us