Examples - Netscape MANAGEMENT SYSTEM 6.1 - COMMAND-LINE Manual

Command-line tools guide
Table of Contents

Advertisement

Examples

<output_file>
argument is optional; if you don't specify an output file, the certificate
information is written to the standard output.
Examples
PrettyPrintCert.bat C:\test\cert.in C:\test\cert.out
The above command takes the ASCII base-64 encoded certificate in the
and writes the certificate in the pretty-print form to the output file named
cert.out
The base-64 encoded certificate (content of the
this:
-----BEGIN CERTIFICATE-----
MIIC2DCCAkGgAwIBAgICEAwwDQYJKoZIhvcNAQEFBQAwfDELMAkGA1UEBhMCVVMxIzA
hBgNVBAoTGlBhbG9va2FWaWxsZSBXaWRnZXRzLCBJbmMuMR0wGwYDVQQLExRXaWRnZX
QgTWFrZXJzICdSJyBVczEpMCcGA1UEAxMgVGVzdCBUZXN0IFRlc3QgVGVzdCBUZXN0I
FRlc3QgQ0EwHhcNOTkwMjE4MDMMzM5WhcNMDAwMjE4MDM0MzM5WjCBrjELMAkGA1UEB
hMCVVMxJjAkBgNVBAoTHU5ldHNjYXBlIENvbW11bmljYXRpb25zIENvcnAuMRUwEwYD
VQQLEwOZXRzY2FwZSBDTVMxGDAWBEBEwhtaGFybXNlbjEfMB0GA1UEAxWaW50ZGV2Y2
EgQWRtaW5pcwp0frfJOObeiSsia3BuifRHBNw95ZZQR9NIXr1x5bE
-----END CERTIFICATE-----
The certificate in pretty-print form (content of the
similar to this:
Certificate:
Data:
Version:
Serial Number: 0x100C
Signature Algorithm: OID.1.2.840.113549.1.1.5 -1.2.840.113549.1.1.5
Issuer: CN=Test CA,OU=Widget Makers 'R'Us,O=Example Corporation,
Widgets\,Inc.,C=US
Validity:
Not Before: Wednesday, February 17, 1999 7:43:39 PM
Not
Subject: MAIL=admin@example.com,CN=testCA Administrator, UID=admin,
OU=IS, O=Example Corporation,C=US
82
Netscape Certificate Management System Command-Line Tools Guide • February 2003
specifies the path to the file to write the certificate. This
.
v3
After: Thursday, February 17, 2000 7:43:39 PM
file) would look similar to
cert.in
file) would look
cert.out
file
cert.in

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE MANAGEMENT SYSTEM 6.1 - COMMAND-LINE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Certificate management system 6.1

Table of Contents