This is a TK-based application used to create certificates used by the SSL authentication mechanism. The binary for this is located in the $ANTI_HOME/bin directory. Make sure that you have that directory in your path when executing this program. You should also have the $ANTI_HOME variable set up, as described in Environment Variables.
The cert interface:
There are two tasks implemented by cert; CA certificate and user certificate creation. To create a CA certificate;
Start the application (from the bin) directory. For example,
% ./cert
Fill in the fields of the certificate. The serial number is the only that is required to be unique. The image above gives an example you should choose identfiers that best fit your environment.
Create the certificate and approriate public and private keys. Select the "Create" button. You will be asked if you wish to create a self-signed certificate, select "Yes".
Save the CA file. Select the "Save" button. The following dialog will be presented;
Enter the filename of the CA file (needed for the "cafile" configuration parameter of the OpenSSL authentication mechanism, see Policy docuementation). A file will be created for the public and private keys. For example, if you enter "myca" in the save dialog, myca.pub and myca.priv will be created in the local directory.
To create a user certificate;
Start the application with the following from the command line:
% cert
Load the CA certificate. Select the "Load CA" button. You will be presented with a dialog asking for the filename. Enter the filename as entered in the CA save dialg (e.g., "myca").
Fill in the fields of the certificate. The serial number is the only that is required to be unique. The image above gives an example you should choose identfiers that best fit your environment.
Create the certificate and approriate public and private keys. Select the "Create" button.
Save the user certificate file. Select the "Save" button. Enter the filename of the user file. A file will be created for each of the public and private keys. For example, if you enter "bob" in the save dialog, bob.pub and bob.priv will be created in the local directory.