Information about SSL certificates from "WebHosting" certificate store

This topic contains 2 replies, has 2 voices, and was last updated by  Deepak 10 months, 2 weeks ago.

  • Author
    Posts
  • #63420

    Deepak
    Participant

    Hi ,

    I'm executing below power shell command to fetch the information about certificates.

    dir cert:\localmachine\my | Where-Object { $_.hasPrivateKey }
    

    It is only giving me the information regarding certificates from personal store. Is there a way to fetch the certificate's info from "WebHosting" store as well ?

    Thanks,
    Deepak

  • #63421

    Daniel Krebs
    Moderator

    Does below work for you?

    dir cert:\localmachine\WebHosting | Where-Object { $_.hasPrivateKey }
    
    • #63436

      Deepak
      Participant

      Yes ! thank you

You must be logged in to reply to this topic.