Extending Attribute Support
131
•
Printable
•
IA5String
•
UniversalString
•
BMPString
•
UTF8String
For example, the DER-encoding ordered can be listed as follows:
X500Name.dirEncodingOrder=Printable,BMPString
To change the
DirectoryString
encoding, do the following:
1. Stop the Certificate Manager.
/etc/init.d/rhpki-ca stop
2. Open the
/var/lib/rhpki-ca/conf/
directory.
3. Open the
CS.cfg
configuration file.
4. Add the encoding order to the configuration file.
For example, to specify two encoding values,
PrintableString
and
UniversalString
, and
the encoding order is
PrintableString
first and
UniversalString
next, add the following
line at the end of the configuration file:
X500Name.directoryStringEncodingOrder=PrintableString, UniversalString
5. Save the changes, and close the file.
6. Start the Certificate Manager.
/etc/init.d/rhpki-ca start
7. To verify that the encoding orders are in effect, enroll for a certificate using the manual enrollment
form. Use
John_Doe
for the
cn
.
8. Open the agent services page, and approve the request.
9. When the certificate is issued, use the
dumpasn1
tool to examine the encoding of the certificate.
The
dumpasn1
tool can be downloaded at
http://fedoraproject.org/extras/4/i386/repodata/
repoview/dumpasn1-0-20050404-1.fc4.html
.
The
cn
component of the subject name should be encoded as a
UniversalString
.
10. Create and submit a new request using
John Smith
for the
cn
.
The
cn
component of the subject name should be encoded as a
PrintableString
.
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 ...