Information about SSL certificates from "WebHosting" certificate store

Welcome Forums General PowerShell Q&A Information about SSL certificates from "WebHosting" certificate store

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
1 year, 10 months ago.

  • Author
    Posts
  • #63420

    Participant
    Points: 0
    Rank: Member

    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

    Moderator
    Points: 24
    Team Member
    Rank: Member

    Does below work for you?

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

      Participant
      Points: 0
      Rank: Member

      Yes ! thank you

The topic ‘Information about SSL certificates from "WebHosting" certificate store’ is closed to new replies.