To use the CardSpace samples, SSL certificates, virtual Web directories and host file entries must be installed. I've waste a little time when trying to have a valid certificate for my InfoCard application. I think this link will help if you got the same situation http://msdn2.microsoft.com/en-us/library/aa967570.aspx