Friday, August 12, 2011

Windows Azure Error: Unable to find or obtain a context for requested certificate

Today i was trying to explore Federated Authentication in a Windows Azure Web Role Application Hands on Lab by Windows Azure Platform Training Kit When to step 8 you need to create certificate.

image

the last step to create certificate prompt an error. Error: Unable to find or obtain a context for requested certificate if you skip and go to step 12 and try to Select certificate you can’t find in the list.

The above error happen due the absence of CAPICOM 2.1.0.2 SDK in your computer, so you need to downloaded and install once this is done. you need re-run above commands which prompt below screen to add certificates.

image

When you go to step 12 on your Visual Studio you can find your certificate.

image