No certificate was found for subject Name CN=IdentityTKStsCert
I'm going through WIF training kit. I'm getting the following error when trying to log in via STS site. I click log-in, then I'm redirected to STS web site and I see this No certificate was found for subject Name CN=IdentityTKStsCert
In order to work on the Microsoft exercises, you need to set-up the environment ( with the correct certificates). Please follow the below setup instruction (Extracted from Microsoft link (now obsolete) - http://msdn.microsoft.com/en-us/gg271381) to install the requested certificates. The source files for the setup can be found on the upper right corner of the page here .
You must perform the following steps to prepare your computer for this lab.
- Open a Windows Explorer window and browse to the lab’s Source\Setup folder.
- Double-click the Dependencies.dep file in this folder to launch the Dependency Checker tool and install any missing prerequisites. This will also install some code snippets that will be used across the lab and the localhost certificate used in the second exercise by the local STS.
Note: This process may require elevation. The .dep extension is associated with the Dependency Checker tool during its installation. For additional information about the setup procedure and how to install the Dependency Checker tool, refer to the Setup.docx document in the Assets folder of the training kit.
- Once closed the code snippets installer, the setup script will proceed with the certificates installation. Press Y if you want to continue with the required certificates installation.
Note: If you already have a "localhost" certificate needed by another application, ensure to make a backup copy of it before continue with the lab's certificates installation.
Certificates installation finished
Note: If you are running Windows 7 or Windows 2008 R2 you might not see this window.
- When finished press any key to close the setup console.
Note: In addition to the setup script, inside the Source\Setup folder of this lab, there is a Cleanup.cmd file you can use to uninstall all the code snippets installed by setup scripts.