Monday, February 21, 2011

Where is my STSTestCert?

If you have recently installed the Windows Identity Foundation SDK, you may be lucky enough to have had the STSTestCert X509 Certificate properly installed on your local machine.

If you are one of those unfortunate few who did not get the STSTestCert X509 Certificate installed on your machine, fear not, there is still hope for you.


  1. First of all, the easiest way (that I prefer) to check if you have the STSTestCert properly installed is to open the IIS 7/7.5 Management Console.  
  2. In the Features view, click on Server Certificates
  3. Review the list of Server Certificates
  4. If you cannot find STSTestCert listed amongst the installed certificates, your installation of Windows Identity Foundation SDK did not install the certificate for you.

Well, if you are in this situation, you should still be able to get the STSTestCert installed on your system.

  1. Launch Visual Studio 2010
  2. From the File menu, select New-->Web Site
  3. Look at the various project templates for C#
  4. Make sure the Target Framework is .Net Framework 4
  5. Create a new ASP.Net Security Token Service Web Site project
  6. Now repeat the steps listed above to review the Server Certificates installed in the IIS Management Console
  7. You should now be able to find the STSTestCert Server Certificates amongst the list of installed certificates

No comments:

Post a Comment