Requesting Certificates
211
1. Open the certificate database directory of the instance for which the certificate is being requested.
cd /var/lib/
instance_ID
/alias
2. Run the
certutil
command, defining the key settings, subject name, validity period, and
extentions.
certutil -R -k rsa -g 2048 -s "CN=example cert server.example.com,O=Example Domain" -o
request.cert -v 12 -d . -1 -3 -6
The required options are listed in
Table 10.3, “Options for Requesting Certificates with certutil”
.
Option
Description
R
Flag to generate a certificate request.
k
The key type to use; the only option is
rsa
.
g
The key size. The recommended size for RSA
keys is 2048.
s
The subject name of the certificate.
o
The output file to which to save the certificate
request.
v
The validity period, in months.
d
Certificate database directory; this is the
directory for the subsystem instance.
numbers 1-8
These set the available certificate extensions.
Only eight can be specified through the
certutil
tool:
• Key Usage: 1
• Basic Constraints: 2
• Certificate Authority Key ID: 3
• CRL Distribution Point: 4
• Netscape Certificate Type: 5
• Extended Key Usage: 6
• Email Subject Alternative Name: 7
• DNS Subject Alternative Name: 8
a
Outputs the certificate request to an ASCII file
instead of binary.
Table 10.3. Options for Requesting Certificates with certutil
Once the request is generated, submit the certificate request in the output file to the issuing CA
through the CA's enrollment forms.
For information about using the
certutil
command, see
http://www.mozilla.org/projects/security/pki/
nss/tools/certutil.html
.
Содержание CERTIFICATE SYSTEM 7.2 - MIGRATION GUIDE
Страница 36: ...Chapter 1 Overview 16 Figure 1 4 Certificate System Architecture ...
Страница 144: ...124 ...
Страница 160: ...140 ...
Страница 208: ...188 ...
Страница 210: ...190 ...
Страница 256: ...236 ...
Страница 282: ...Chapter 12 Certificate Profiles 262 Parameter IssuerName_n IssuerType_n ...
Страница 285: ...Freshest CRL Extension Default 265 Parameter PointName_n PointIssuerName_n ...
Страница 335: ...Configuring Mappers 315 Figure 14 9 Selecting a New Mapper Type 6 Edit the mapper instance and click OK ...
Страница 362: ...342 ...
Страница 376: ...356 ...
Страница 436: ...416 ...
Страница 490: ...470 ...
Страница 504: ...484 ...