The documentation is permanently moved. New URL to the command description: Revoke-Certificate

Last edited Apr 4, 2016 at 7:16 AM by Camelot, version 8

Comments

stibra Apr 12, 2014 at 2:09 PM 
Hi,

How to revoke certificate with specific serial number, instead of RequestID? I have only serial number of the certificate.

Thanks,

Ratko

aab163 Dec 22, 2011 at 5:12 PM 
Hi I have some issues with the revoke certificate:

PS C:\Windows\system32> Get-CertificationAuthority -Name "CA Name" | Get-IssuedRequest -RequestID 123
| Revoke-Certificate
WARNING: Unable to revoke the certificate with serial number '04e1b19ba00000000007b'
Exception calling "RevokeCertificate" with "4" argument(s): "CCertAdmin::RevokeCertificate: The parameter is incorrect.
0x80070057 (WIN32: 87)"
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PKI\Revoke-Certificate.ps1:22 char:32
+ $CertAdmin.RevokeCertificate <<<< ($Request.ConfigString,$Request.SerialNumber,$Reasons[$Reason],$Revocat
ionDate)
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ComMethodTargetInvocation

I have no problem executing "Get-CertificationAuthority -Name "CA Name" | Get-IssuedRequest -RequestID 123" I a successfull return, but when i try to revoke i get this message.

Best regards Henrik