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.

  • busta-rp.com.pfx and busta-rpsts.com.pfx to LocalMachine/My
  • busta-rp.com.cer and busta-rpsts.com.cer 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: 'CN=busta-rpsts.com'' (E:\Downloads\WCFandWIF_MSDNNov09_CS\TodoList_SimpleFederation\RPSTSHost\bin\Debug\RPSTSHost.vshost.exe.Config line 13)

Regards,
Riz