Error validating X.509 Certificate

Nov 30, 2011 at 12:46 PM

Hi all,

I'm unable to understand why X.509 certificates (in sample application) are not validated? I'm using Visual Studio 2008 with WIF 3.5 on Windows 7. I've verified the certificates through certmgr.msc tool and all certificates are displayed under appropriate section as follows.

  • and to LocalMachine/My
  • and to LocalMachine/Trusted Root Certification Authorities and LocalMachine/Trusted People

I'm getting following error and unable to find any solution. Any help in this regard will be highly appreciated.

ID1024: The configuration property value is not valid.
Property name: 'certificateReference'
Error: 'ID1025: Cannot find a unique certificate that matches the criteria.
StoreName: 'My'
StoreLocation: 'LocalMachine'
X509FindType: 'FindBySubjectDistinguishedName'
FindValue: ''' (E:\Downloads\WCFandWIF_MSDNNov09_CS\TodoList_SimpleFederation\RPSTSHost\bin\Debug\RPSTSHost.vshost.exe.Config line 13)