Configuring Certificate Manager to Publish to Files
Chapter
20
Publishing Certificates and CRLs to a File
681
c.
At the prompt, enter this:
BtoA[.bat] <input_file> <output_file>
substituting
<input_file>
with the path to the file that contains the DER
encoded certificate and
<output_file>
with the path to the file to write
the base-64 encoded certificate. (The optional
.bat
specifies the file
extension; this is required only when running the utility on a Windows NT
system.)
For example, if the file is in
C:\certificates\cert-1234.der
and you
want the base-64 encoded certificate to be in
C:\certificates\cert-1234.txt
, the command would look like this:
BtoA C:\certificates\cert-1234.der
C:\certificates\cert-1234.txt
d.
When the conversion is complete, open the
cert.txt
file in a text editor.
You should see a base-64 encoded certificate similar to this:
-----BEGIN CERTIFICATE-----
MMIIBtgYJYIZIAYb4QgIFoIIBpzCCAZ8wggGbMIIBRaADAgEAAgEBMA0GCSqGSIb3DQEBBAUAMFcxC
AJBgNVBAYTAlVTMSwwKgYDVQQKEyNOZXRzY2FwZSBDb21tdW5pY2F0aWhfyyuougjgjjgmkgjkgmjg
fjfgjjjgfyjfyj9ucyBDb3Jwb3JhdGlvbjpMEaMBgGA1UECxMRSXNzdWluZyhgdfhbfdpffjphotoo
gdhkBBdXRob3JpdHkwHhcNOTYxMTA4MDkwNzM0WhcNOTgxMTA4MDkwNzMM0WjBXMQswCQYDVQQGEwJ
VUzEsMCoGA1UEChMjTmV0c2NhcGUgQ29tbXVuaWNhdGlvbnMgQ29ycG9yY2F0aW9ucyBDb3Jwb3Jhd
GlvbjpMEaMBgGA1UECxMRSXNzdWluZyBBdXRob3JpdHkwHh
-----END CERTIFICATE-----
3.
Convert the base 64-encoded certificate to a human-readable form using the
Pretty Print Certificate tool (see Chapter 9, “Pretty Print Certificate Tool” of
CMS Command-Line Tools Guide).
To convert the base 64-encoded certificate to a human-readable form:
a.
Check the command window to make sure that you are in this directory:
<server_root>/bin/cert/tools
b.
At the prompt, enter this:
PrettyPrintCert[.bat] <input_file> [<output_file>]
substituting
<input_file>
with the path to the ASCII file that contains the
base-64 encoded certificate and
<output_file>
with the path to the file to
write the certificate in a human-readable form. If you don’t specify an
output file, the certificate information is written to the standard output.
(The optional
.bat
specifies the file extension; this is required only when
running the utility on a Windows NT system.)
Summary of Contents for NETSCAPE MANAGEMENT SYSTEM 4.5
Page 1: ...Installation and Setup Guide Netscape Certificate Management System Version4 5 October 2001...
Page 22: ...22 Netscape Certificate Management System Installation and Setup Guide October 2001...
Page 32: ...32 Netscape Certificate Management System Installation and Setup Guide October 2001...
Page 162: ...162 Netscape Certificate Management System Installation and Setup Guide October 2001...
Page 796: ...796 Netscape Certificate Management System Installation and Setup Guide October 2001...
Page 827: ...827 Part 5 Appendix Appendix A Certificate Download Specification...
Page 828: ...828 Netscape Certificate Management System Installation and Setup Guide October 2001...
Page 850: ...850 Netscape Certificate Management System Installation and Setup Guide October 2001...