Requiring System Password Prompts
289
# adding this line to enable password prompts
NSSPassPhraseDialog builtin
12.3.3.2. Configuring Existing CA, DRM, TKS, and OCSP Instances to
Prompt for Passwords
Existing subsystem instances can be configured to prompt for passwords rather than using
password.conf
. This requires a few additional steps to set up.
1. Make sure all of the Certificate System packages have been installed and updated.
2. Stop the instance.
service
subsystem_name
stop
3. Back up the instance. For example:
cp -R /var/lib/pki-ca-old /var/lib/pki-ca-old.bkup
4. Add the
cms.passwordlist
parameter to the instance's
CS.cfg
file.
vim /var/lib/
subsystem_name
/conf/CS.cfg
cms.passwordlist=internaldb,replicationdb
If publishing has been enabled, then make sure the LDAP publishing password is listed. For
example:
cms.passwordlist=internaldb,replicationdb,CA LDAP Publishing
5. Create a new
dtomcat5
file for the instance.
a. Copy the current file in
/usr/share/pki/
type
/conf
. For example:
/usr/share/pki/ca/conf/dtomcat5 /tmp/dtomcat5-pki-old
b. Edit the copied
dtomcat5-
name
file to supply the subsystem information. For example:
sed -i 's/\[PKI_SUBSYSTEM_TYPE\]/ca/g' /tmp/dtomcat5-pki-old
sed -i 's/\[PKI_INSTANCE_PATH\]/\/var\/lib\/pki-old/g' /tmp/dtomcat5-pki-old
sed -i 's/\[PKI_INSTANCE_ID\]/pki-old/g' /tmp/dtomcat5-pki-old
c. Copy the file into the
/usr/bin
directory.
cp /tmp/dtomcat5-pki-old /usr/bin
d. Set the proper file owner and permissions for the file.
chown pkiuser: /usr/bin/dtomcat5-pki-old
chmod 770 /usr/bin/dtomcat5-pki-old
Summary of Contents for CERTIFICATE SYSTEM 8.0 - ADMINISTRATION
Page 42: ...20 ...
Page 43: ...Part I Setting up Certificate Services ...
Page 44: ......
Page 190: ...168 ...
Page 208: ...186 ...
Page 223: ...Part II Additional Configuration to Manage CA Services ...
Page 224: ......
Page 256: ...234 ...
Page 270: ...248 ...
Page 280: ...258 ...
Page 292: ...270 ...
Page 293: ...Part III Managing the Subsystem Instances ...
Page 294: ......
Page 408: ...386 ...
Page 438: ...416 ...
Page 439: ...Part IV References ...
Page 440: ......
Page 503: ...Netscape Defined Certificate Extensions Reference 481 OID 2 16 840 1 113730 13 ...
Page 504: ...482 ...
Page 556: ...534 ...
Page 564: ...542 ...