Example58 Netscape Certificate Management System Command-Line Tools Guide • October 2001ExamplePrettyPrintCert.bat C:\test\cert.in C:\test\cert.outThe above command takes the base-64 encoded certificate in the cert.in file andwrites the certificate in the pretty-print form to the output file named cert.out.The base-64 encoded certificate (content of the cert.in file) would look similar tothis:-----BEGIN CERTIFICATE-----MIIC2DCCAkGgAwIBAgICEAwwDQYJKoZIhvcNAQEFBQAwfDELMAkGA1UEBhMCVVMxIzAhBgNVBAoTGlBhbG9va2FWaWxsZSBXaWRnZXRzLCBJbmMuMR0wGwYDVQQLExRXaWRnZXQgTWFrZXJzICdSJyBVczEpMCcGA1UEAxMgVGVzdCBUZXN0IFRlc3QgVGVzdCBUZXN0IFRlc3QgQ0EwHhcNOTkwMjE4MDMMzM5WhcNMDAwMjE4MDM0MzM5WjCBrjELMAkGA1UEBhMCVVMxJjAkBgNVBAoTHU5ldHNjYXBlIENvbW11bmljYXRpb25zIENvcnAuMRUwEwYDVQQLEwOZXRzY2FwZSBDTVMxGDAWBEBEwhtaGFybXNlbjEfMB0GA1UEAxWaW50ZGV2Y2EgQWRtaW5pcwp0frfJOObeiSsia3BuifRHBNw95ZZQR9NIXr1x5bE-----END CERTIFICATE-----The certificate in pretty-print form (content of the cert.out file) would looksimilar to this:Certificate:Data:Version: v3Serial Number: 0x100CSignature Algorithm: OID.1.2.840.113549.1.1.5 -1.2.840.113549.1.1.5Issuer: CN=Test CA,OU=Widget Makers 'R'Us,O=Siroe Corporation,Widgets\,Inc.,C=USValidity:Not Before: Wednesday, February 17, 1999 7:43:39 PMNot After: Thursday, February 17, 2000 7:43:39 PMSubject: MAIL=admin@siroe.com,CN=testCA,Administrator, UID=admin,OU=IS, O=Siroe Corporation,C=USSubject Public Key Info:Algorithm: RSA - 1.2.840.113549.1.1.1Public Key:30:81:89:02:81:81:00:DE:26:B3:C2:9D:3F:7F:FA:DF:24:E3:9B:7A:24:AC:89:AD:C1:BA:27:D1:1C:13:70:F7:96:59:41:1F:4D:21:7A:F5:C7:96:C4:75:83:35:9F:49:E4:B0:A7:5F:95:C4:09:EA:67:00:EF:BD:7C:39:92:11:31:F2:CA:C9:16:87:B9:AD:B8:39:69:18:CE:29:81:5F: