Yes, another noisy coder…

Iterate through all certificates in the Certificate Store on Windows Azure

Pretty simple generic C# code to iterate through all certificates in the Windows Certificate Store and dump some metadata about each to standard output. Note that it really gets ALL certificates and doesn’t hard-code any stores or locations.

And just for fun, here is a dump of the certificates running on a Windows Azure Web Role (I did not install any add’l certificates on this instance):

6 thoughts on “Iterate through all certificates in the Certificate Store on Windows Azure”

Fantastic article and very beneficial for helping people not only get ideas on how to ask others to get links, but the instructions for finding another site’s backlinks is very helpful. Good article Ken, you are right – quality link building takes time and is hard work. Creating ‘link targets’ is the way to get good links.Digital Signature Certificate Provider In India

It doesn’t get certificates from all stores, just those in the StoreNames enumeration. For example, on Windows Server 2012, there is a new store folder called “Web Hosting”. This code will not get any certificates located in there.

Looks like the only way to get a list of all Store Names is by using unmanaged methods like CertEnumSystemStore.