Download Red Hat Certificate System 8.1 Command

Transcript
Chapter 24. revoker (Sending Revocation Requests)
Chapter 24. revoker (Sending Revocation Requests)
T he revoker utility sends revocation requests to the CA agent interface to revoke certificates. T o
access the interface, revoker needs to have access to an agent certificate that is part of the
subsystem group that is acceptable to the CA.
T he revoker tool can do all of the following:
Specify which certificate or a list of certificates to revoke by listing the hexadecimal serial numbers.
Specify a revocation reason.
Specify an invalidity date.
Unrevoke a certificate that is currently on hold.
24.1. Syntax
T he revoker utility has the following syntax:
revoker -s serialNumber -n rsa_nickname [[ -p password ] | [ -w passwordFile ]] [ -d dbdir ] [ -v ] [
-V ] [ -u ] [ -r reasoncode ] [ -i numberOfHours ] hostname [ :port ]
Option
Description
s
Gives the serial numbers in hexadecimal of the
certificates to revoke. A hexadecimal serial
number, for example, is like 0x31, or multiple
serial numbers can be listed separated by
commas, such as 0x4 4 ,0x64 ,0x22.
n
Gives the agent certificate nickname.
p
Gives the certificate database password. Not
used if the -w option is used.
w
Optional. Gives the path to the password file. Not
used if the -p option is used.
d
Optional. Gives the path to the security
databases.
v
Optional. Sets the operation in verbose mode.
V
Optional. Gives the version of the revoker tool.
u
Optional. Unrevokes a certificate, meaning that
certificate status is changed from on hold to
active.
r
Gives the reason to revoke the certificate. T he
following are the possible reasons:
0
1
2
3
4
5
6
i
-
Unspecified (default).
T he key was compromised.
T he CA key was compromised.
T he affiliation of the user has changed.
T he certificate has been superseded.
Cessation of operation.
T he certificate is on hold.
Sets the invalidity date in hours from current time
for when to revoke the certificate.
105