Setup guide

Location
46 Netscape Certificate Management System Command-Line Tools Guide May 2002
Location
The ExtJoiner program is located with the rest o f the command-line tools in thi s
directory:
<server_root>/bin/cert/tools
Syntax
To run the ExtJoiner tool, type the following command:
java ExtJoiner <ext_file0> <ext_file1> ... <ext_fileN>
where <ext_file> specifies the path, including the filename, to files that contain
the base-64 encoded DER encoding of an X.509 extension.
Usage
As discussed in the introduction of this chapter, the ExtJoiner program doesn’t
generate an extension in its MIME-64 encoded format, it only joins the extensions
that are in MIME-64 encoded format. The steps below outline how you can use the
ExtJoiner to join multiple custom extensions and add the extensions to a
certificate request.
1. Write the appropriate Java programs for the extensions.
2. Join the extensions using ExtJoiner. To do this:
a. Note the file paths to the files that contain the programs for extensions.
b. Open a command window.
c. Run the ExtJoiner, subs tituting t he appropriate file paths. For example, if
you have two extension files named
myExt1 and myExt2 and have copied
them to the same directory as the ExtJoiner, the command would look like
this:
java ExtJoiner myExt1 myExt2
You should see a base-64 encoded blob, s imi lar to the one below, of the
joined extensions on screen:
MEwwLgYDVR0lAQHBCQwIgYFKoNFBAMGClGC5EKDM5PeXzUGBi2CVyLNCQYFU
iBakowGgYDVR0SBBMwEaQPMA0xCzAJBgNVBAYTAlVT
d.
Copy the encoded blob, without any modifications, to a file.