text
stringlengths
0
4.23k
Where:
requestID is the numeric Request ID for the pending request.
attributestring is the request attribute name and value pairs.
[-config Machine\CAName]
Remarks
CertificateTemplate:User\nEMail:User@Domain.com
\n
-setextension
Set an extension for a pending certificate request.
certutil [options] -setextension requestID extensionname flags {long | date | string | \@infile}
Where:
requestID is the numeric Request ID for the pending request.
extensionname is the ObjectId string for the extension.
flags sets the priority of the extension. 0 is recommended, while 1 sets the extension to critical, 2 disables the extension, and 3 does both.
0
1
2
3
[-config Machine\CAName]
Remarks
If the last parameter is numeric, it's taken as a Long.
If the last parameter can be parsed as a date, it's taken as a Date.
If the last parameter starts with \@, the rest of the token is taken as the filename with binary data or an ascii-text hex dump.
\@
If the last parameter is anything else, it's taken as a String.
-revoke
Revoke a certificate.
certutil [options] -revoke serialnumber [reason]
Where:
serialnumber is a comma-separated list of certificate serial numbers to revoke.
reason is the numeric or symbolic representation of the revocation reason, including:
0. CRL_REASON_UNSPECIFIED - Unspecified (default)
1. CRL_REASON_KEY_COMPROMISE - Key compromise
2. CRL_REASON_CA_COMPROMISE - Certificate Authority compromise
3. CRL_REASON_AFFILIATION_CHANGED - Affiliation changed
4. CRL_REASON_SUPERSEDED - Superseded
5. CRL_REASON_CESSATION_OF_OPERATION - Cessation of operation
6. CRL_REASON_CERTIFICATE_HOLD - Certificate hold
8. CRL_REASON_REMOVE_FROM_CRL - Remove From CRL
-1. Unrevoke - Unrevoke
[-config Machine\CAName]
-isvalid
Display the disposition of the current certificate.
certutil [options] -isvalid serialnumber | certhash
[-config Machine\CAName]
-getconfig
Get the default configuration string.
certutil [options] -getconfig
[-config Machine\CAName]
-ping
Attempt to contact the Active Directory Certificate Services Request interface.
certutil [options] -ping [maxsecondstowait | camachinelist]
Where:
[-config Machine\CAName]
-cainfo
Display information about the certification authority.
certutil [options] -cainfo [infoname [index | errorcode]]
Where:
infoname indicates the CA property to display, based on the following infoname argument syntax:
file - File version
product - Product version
exitcount - Exit module count
exit [index] - Exit module description
[index]
policy - Policy module description
name - CA name
sanitizedname - Sanitized CA name
dsname - Sanitized CA short name (DS name)
sharedfolder - Shared folder
error1 ErrorCode - Error message text
error2 ErrorCode - Error message text and error code
type - CA type
info - CA info
parent - Parent CA
certcount - CA cert count
xchgcount - CA exchange cert count
kracount - KRA cert count
kraused - KRA cert used count
propidmax - Maximum CA PropId
certstate [index] - CA cert
[index]
certversion [index] - CA cert version
[index]
certstatuscode [index] - CA cert verify status
[index]
crlstate [index] - CRL
[index]
krastate [index] - KRA cert
[index]
crossstate+ [index] - Forward cross cert
[index]
crossstate- [index] - Backward cross cert
[index]
cert [index] - CA cert
[index]
certchain [index] - CA cert chain