Comments on this page are supposed to improve article content and no technical support is provided. For technical questions, please visit project home page at: GitHub
This command requires installed Remote Server Administration Tools (RSAT)

Approve-CertificateRequest

Synopsis

Approves certificate for a certificate request that is placed in 'Pending Requests' node on the CA server.

Syntax

Approve-CertificateRequest [-Request] <Object> [<CommonParameters>]

Description

Issues certificate for a certificate request that is placed in 'Pending Requests' node on the CA server. This is equivalent to manually issuing a certificate request from Certification Authority MMC snap-in.

Note: for this command to succeed, the certificate request must be pending.

Parameters

-Request <Object>

Specifies the pending request object. Pending request object can be retrieved by running Get-PendingRequest command.

Required? True
Position? 0
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

SysadminsLV.PKI.Management.CertificateServices.Database.AdcsDbRow

Outputs

SysadminsLV.PKI.Utils.IServiceOperationResult

Notes

Author: Vadims Podans
Blog: https://www.sysadmins.lv

Examples

Example 1

PS C:\> Get-CertificationAuthority CompanyCA1 | Get-PendingRequest -ID 10,14 | Approve-CertificateRequest

This command will attempt to approve certificate requests with ID 10 and 14 and issue certificates.

Related links

Get-CertificationAuthority
Connect-CertificationAuthority
Get-PendingRequest
Deny-CertificateRequest
Remove-AdcsDatabaseRow

Minimum PowerShell version support

  • PowerShell 3.0

Operating System Support

  • Windows Server 2003 all editions
  • Windows Server 2008 all editions
  • Windows Server 2008 R2 all editions
  • Windows Server 2012 all editions
  • Windows Server 2012 R2 all editions
  • Windows Server 2016 all editions

Share this article:

Comments:

Stan
Stan 18.04.2019 11:21 (GMT+3) Approve-CertificateRequest

Hi Vadim,

How to provide credentials for the command, a'la Submit-CertificateRequest?

Vadims Podāns
Vadims Podāns 22.04.2019 12:36 (GMT+3) Approve-CertificateRequest

> How to provide credentials for the command, a'la Submit-CertificateRequest?

there is no way to provide custom credentials to management commands. Submit-CertificateRequest command supports custom credentials only when using CEP/CES enrollment web services. With DCOM custom credentials are not supported.


Post your comment:

Please, solve this little equation and enter result below. Captcha