Chapter 11. Managing Certificates
260
To view the keys stored in the subsystem databases using
certutil
, run the
certutil
with the
-K
option. For example:
cd /var/lib/
instance_ID
/alias
certutil -K -d .
Enter Password or Pin for "NSS Certificate DB":
<0> subsystemCert cert-rhpki-tks
<1>
<2> Server-Cert cert-rhpki-tks
For information about using the
certutil
command, see
http://www.mozilla.org/projects/security/pki/
nss/tools/certutil.html
.
11.4.3. Deleting Certificates from the Database
Removing unwanted certificates reduces the size of the certificate database.
NOTE
When deleting CA certificates from the certificate database, be careful not to delete
the
intermediate CA certificates
, which help a subsystem chain up to the trusted CA
certificate. If in doubt, leave the certificates in the database as
untrusted
CA certificates;
see
Section 11.4.4, “Changing the Trust Settings of a CA Certificate”
.
•
Section 11.4.3.1, “Deleting Certificates through the Console”
•
Section 11.4.3.2, “Deleting Certificates Using certutil”
11.4.3.1. Deleting Certificates through the Console
To delete a certificate through the Console, do the following:
1. Open the Certificate System Console.
pkiconsole https://
hostname:SSLport/subsystemType
2. In the
Configuration
tab, select
System Keys and Certificates
from the left navigation tree.
3. Select the certificate to delete, and click
Delete
.
4. When prompted, confirm the delete.
11.4.3.2. Deleting Certificates Using certutil
To delete a certificate from the database using
certutil
, do the following:
1. Open the instance's certificate databases directory.
cd /var/lib/
instance_ID
/alias
2. List the certificates in the database by running the
certutil
with the
-L
option. For example:
Summary of Contents for CERTIFICATE SYSTEM 7.3 - ADMINISTRATION
Page 15: ...xv Index 525 ...
Page 16: ...xvi ...
Page 38: ...Chapter 1 Overview 16 Figure 1 4 Certificate System Architecture ...
Page 82: ...Chapter 2 Installation and Configuration 60 rpm ev rhpki manage ...
Page 154: ...132 ...
Page 194: ...172 ...
Page 238: ...216 ...
Page 244: ...222 ...
Page 246: ...224 ...
Page 286: ...264 ...
Page 292: ...270 ...
Page 318: ...Chapter 13 Certificate Profiles 296 Parameter IssuerType_n IssuerName_n ...
Page 321: ...Freshest CRL Extension Default 299 Parameter PointName_n PointIssuerName_n ...
Page 398: ...376 ...
Page 412: ...390 ...
Page 472: ...450 ...
Page 506: ...484 ...
Page 528: ...506 ...
Page 546: ...524 ...