Creating And Editing Certificate Profiles Through The Command Line - Red Hat CERTIFICATE SYSTEM 8.0 - ADMINISTRATION Admin Manual

Hide thumbs Also See for CERTIFICATE SYSTEM 8.0 - ADMINISTRATION:
Table of Contents

Advertisement

Chapter 2. Making Rules for Issuing Certificates
a profile has already been enabled, it must be disabled by the agent before it can be deleted from the
profile list.
NOTE
Restart the server after editing the profile configuration file for the changes to take effect.
2.2.3. Creating and Editing Certificate Profiles through the
Command Line
The certificate profiles can be modified directly through the command line by modifying the profiles'
configuration files. The certificate profiles have individual configuration files which can be modified
through the command line. Default files exist for the default profiles at installation; when new profiles
are created, new configuration files are also created. The configuration files are stored in the CA
profile directory, instance_directory/profiles/ca/, such as /var/lib/pki-ca/profiles/ca/.
The file is named profile_name.cfg. All of the parameters for profile rules set or modified through the
Console, such as defaults, inputs, outputs, and constraints, are written to the profile configuration file.
The enrollment profiles for system certificates are located in the /var/lib/subsystem_name/conf
directory with the name *.profile.
NOTE
Restart the server after editing the profile configuration file for the changes to take effect.
Section 2.2.3.1, "Profile Configuration Parameters"
Section 2.2.3.2, "Modifying Certificate Extensions through the Command Line"
Section 2.2.3.3, "Adding Inputs through the Command Line"
2.2.3.1. Profile Configuration Parameters
The configuration files are stored in the CA profile directory, such as /var/lib/pki-ca/profiles/
ca/. The file is named profile_name.cfg. All of the parameters for a profile rule - defaults, inputs,
outputs, and constraints - are configured within a single policy set. A policy set for a profile has the
name policyset.policyName.policyNumber. For example:
policyset.cmcUserCertSet.6.constraint.class_id=noConstraintImpl
policyset.cmcUserCertSet.6.constraint.name=No Constraint
policyset.cmcUserCertSet.6.default.class_id=userExtensionDefaultImpl
policyset.cmcUserCertSet.6.default.name=User Supplied Key Default
policyset.cmcUserCertSet.6.default.params.userExtOID=2.5.29.15
The common profile configuration parameters are described in
Parameters".
There is only one policy set processed for the profile, except for dual key pairs when two policy sets
are processed. The server evaluates each policy set for each request it receives. When a single
36
Table 2.1, "Profile Configuration File

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CERTIFICATE SYSTEM 8.0 - ADMINISTRATION and is the answer not in the manual?

Table of Contents