Using Get-Certificate with a Microsoft CA

ComputerHabit 801 Reputation points
2024-05-01T18:01:44.4466667+00:00

I would like to use Get-Certificate with a Microsoft CA.
https://learn.microsoft.com/en-us/powershell/module/pki/get-certificate?view=windowsserver2022-ps

The documentation doesn't really show many examples.

Does anyone know how to do this?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,263 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,403 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Marcin Policht 13,175 Reputation points MVP
    2024-05-01T18:38:18.4333333+00:00

    Refer to https://devblogs.microsoft.com/scripting/powertip-use-powershell-to-get-ssl-certificate/


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

  2. Jing Zhou 2,630 Reputation points Microsoft Vendor
    2024-05-06T03:32:23.2066667+00:00

    Hello,

     

    Thank you for posting in Q&A forum.

    Actually there's no certain way to get all Microsoft CA directly.

    However, when you using Get-Certificate command please kindly gather your Microsoft CA related URL and put it in parameter "Url = 'http://your-ca-server/Policy/service.svc'.

    Hope this answer can help you well.

     

    Best regards,

    Jill Zhou

     


  3. ComputerHabit 801 Reputation points
    2024-05-07T11:56:15.85+00:00

    Nothing posted is even close to an answer. :)

    If anyone has "Experience" with the command connecting to a Microsoft CA please post.

    0 comments No comments