Using PS to perform a CertReq for PKI

Welcome Forums General PowerShell Q&A Using PS to perform a CertReq for PKI

This topic contains 1 reply, has 1 voice, and was last updated by

 
Participant
1 year, 4 months ago.

  • Author
    Posts
  • #73531

    Participant
    Points: 0
    Rank: Member

    When issuing certification request to a Root CA via a CMD window 'certreq -submit ***.req' , you'll get a Certification Authority List pop-up window, that you can push ok and the request will be submitted. Trying to do the same via Powershell with

     CMD.exe certreq -submit ***.req 

    it starts the execution but never completes. The pop up doesn't display so I think its just freezing there, but I'm not sure. Any idea on how to accomplish this via Powershell? I've tried the -q switch and invoke-command with now luck.

    Appreciate it.

  • #73534

    Participant
    Points: 0
    Rank: Member

    **Fat finger...cmd.exe /c works like a champ...

The topic ‘Using PS to perform a CertReq for PKI’ is closed to new replies.