Chapter 8. Publishing Certificates and CRLs
230
8.5. Testing Publishing to Files
To verify that the Certificate Manager is publishing certificates and CRLs correctly to file:
1. Open the CA's end-entities page, and request a certificate.
2. Approve the request through the agent services page, if required.
3. Retrieve the certificate from the end-entities page, and download the certificate into the browser.
4. Check whether the server generated the DER-encoded file containing the certificate.
Open the directory to which the binary blob of the certificate is supposed to be published. The
certificate file should be named
cert-
serial_number
.der
.
5. Convert the DER-encoded certificate to its base 64-encoded format using the Binary to ASCII tool.
For more information on this tool, refer to the
Certificate System Command-Line Tools Guide
.
BtoA
input_file output_file
input_file
sets the path to the file that contains the DER-encoded certificate, and
output_file
sets
the path to the file to write the base-64 encoded certificate.
6. Open the ASCII file; the base-64 encoded certificate is similar to the one shown:
-----BEGIN CERTIFICATE-----
MMIIBtgYJYIZIAYb4QgIFoIIBpzCCAZ8wggGbMIIBRaADAgEAAgEBMA0GCSqGSIb3DQEBBAUAMFcxC
AJBgNVBAYTAlVTMSwwKgYDVQQKEyNOZXRzY2FwZSBDb21tdW5pY2F0aWhfyyuougjgjjgmkgjkgmjg
fjfgjjjgfyjfyj9ucyBDb3Jwb3JhdGlvbjpMEaMBgGA1UECxMRSXNzdWluZyhgdfhbfdpffjphotoo
gdhkBBdXRob3JpdHkwHhcNOTYxMTA4MDkwNzM0WhcNOTgxMTA4MDkwNzMM0WjBXMQswCQYDVQQGEwJ
VUzEsMCoGA1UEChMjTmV0c2NhcGUgQ29tbXVuaWNhdGlvbnMgQ29ycG9yY2F0aW9ucyBDb3Jwb3Jhd
GlvbjpMEaMBgGA1UECxMRSXNzdWluZyBBdXRob3JpdHkwHh
-----END CERTIFICATE-----
7. Convert the base 64-encoded certificate to a readable form using the Pretty Print Certificate tool.
For more information on this tool, refer to the
Certificate System Command-Line Tools Guide
.
PrettyPrintCert
input_file [output_file]
input_file
sets the path to the ASCII file that contains the base-64 encoded certificate, and
output_file
, optionally, sets the path to the file to write the certificate. If an output file is not set, the
certificate information is written to the standard output.
8. Compare the output with the certificate issued; check the serial number in the certificate with the
one used in the filename.
If everything matches, the Certificate Manager is configured correctly to publish certificates to file.
9. Revoke the certificate.
10. Check whether the server generated the DER-encoded file containing the CRL.
Open the directory to which the server is to publish the CRL as a binary blob. The CRL file should
have a name in the form
crl-
this_update
.der
.
this_update
specifies the value derived from the
time-dependent
This Update
variable of the CRL.
Содержание CERTIFICATE SYSTEM 8.0 - ADMINISTRATION
Страница 1: ...Red Hat Certificate System 8 0 Admin Guide Publication date July 22 2009 updated on March 25 2010 ...
Страница 42: ...20 ...
Страница 43: ...Part I Setting up Certificate Services ...
Страница 44: ......
Страница 190: ...168 ...
Страница 208: ...186 ...
Страница 223: ...Part II Additional Configuration to Manage CA Services ...
Страница 224: ......
Страница 256: ...234 ...
Страница 270: ...248 ...
Страница 280: ...258 ...
Страница 292: ...270 ...
Страница 293: ...Part III Managing the Subsystem Instances ...
Страница 294: ......
Страница 363: ...Managing RA Users 341 5 The user details page shows the person s UID full name email address and user SSL certificate ...
Страница 408: ...386 ...
Страница 438: ...416 ...
Страница 439: ...Part IV References ...
Страница 440: ......
Страница 503: ...Netscape Defined Certificate Extensions Reference 481 OID 2 16 840 1 113730 13 ...
Страница 504: ...482 ...
Страница 556: ...534 ...
Страница 564: ...542 ...