find a location for property in a new city

Wednesday 7 December 2011

Where are my .NET certificates and their thumbprints? Ask Powershell

I ran into a confusing situation where I was trying to pass a certificate with a PowerShell command but found it incredibly confusing to find my certificates.

I was trying to use a certificate on my local machine that I created at an earlier time but where the hell are they? If you open Microsoft Management Console (type mmc into the start bar) and then add the certificates snap in. Choose either Current User or Local computer or whichever is most relevant for you.

Let's dispel some weirdness. My = Personal. For some hilarious reason there is no 'My' folder and it is actually called 'Personal'. This is the place you should be looking for for your own certificates you have created.

So if you have found the certificates you were after you will probably need the thumbprint... but it is encrypted. Awesome.

If you open up PowerShell and type the command

get-childitem -path cert:\CurrentUser\My
this will list all of the certificates in the Current User\Personal folder for you by thumbprint. Very handy. For the ones in Local machine simply replace CurrentUser with LocalMachine.

Hopefully this will save you some time when dealing with this confusing certificate nightmare.

Follow britishdev on Twitter

17 comments:

  1. Super blog get admission to. I need to say that is one of the first rate posts that I’ve perused in all my life. The entirety right here is actually terrific. custom dissertation writing service I couldn't have requested a extremely stepped forward put up than this. . I’m capable of bookmark your net web site and propose to all my buddies.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Wholesale printed custom perfume boxes with the highest quality and affordable prices. Free worldwide Delivery and free Custom Perfume Boxes design.

    ReplyDelete
  4. Buy online wholesale custom eyeshadow palette packaging and packaging at seashore packaging at the easy price Free shipping worldwide with 24/7 customer support.

    ReplyDelete
  5. Blackbird packaging provide you with any size, shape design, cbd boxes sooner than any other packaging competitor in the market

    ReplyDelete
  6. buy lahore electronics online from alfatah at best prices. Get free shipping.

    ReplyDelete
  7. buy grocery online in lahore from alfatah at best prices. Get free shipping

    ReplyDelete
  8. buy zipper hoodie online from wild goat clothing at best pricces. Get Free shipping

    ReplyDelete
  9. Shop Men's Zipper Hoodies online in a wide range of colors and styles at Wild Goat. Winter Zipper Hoodies Collection in long and short hoodies in variety of colors is now available at Wild Goat. View our wide collection of men's zipper hoodies and stock up your wardrobe now. Prices of our zipper hoodies are too low to miss.

    ReplyDelete
  10. Buy exercise cycles online from Al-Fatah at best. Get free shipping.

    ReplyDelete
  11. buy hair mask online from Al-Fatah at best prices. Get free shipping.

    ReplyDelete
  12. buy baby food online pakistan from medisense at easy prices delivered at your doorstep. get free shipping

    ReplyDelete
  13. Buy active wear online pakistan from dshred at easy prices delivered at your doorstep. get free shipping

    ReplyDelete
  14. Ndure presents its wide range of basic women tees. The women's cotton tees are breathable, smart, and trendy. Avail 100% cotton tees now that are going to be your favorite. The collection comprises basic graphic tees that you can wear casually. You can trust NDURE with your online t-shirts shopping.

    ReplyDelete
  15. Buy Mens t-shirt from ndure at best prices delivered at your doorstep. Get free shipping

    ReplyDelete
  16. We need to look into it more closely. Download dzwonki na telefon for free great ringtones

    ReplyDelete