To install a certificate on UNIX, you use the sdk_installdir/bin/upcerins utility. This utility uses a private key file and a saved email message or other file containing a certificate.
To install a certificate, follow these steps:
For more information, see Steps 1 and 2 in Requesting certificates with upcerreq.
The certificate response file is the file containing the certificate response email from the Certificate Authority. The private key file is the file you specified with the -p option when you ran the upcerreq utility (see Step 4 in Requesting certificates with upcerreq).
The utility has the following options:
input_certificate_file private_key_file] output_certificate_file] [-h]
For example, if you saved the email containing the certificate to $UPSDK/bin/cmail.txt and the private key to $UPSDK/config/priv_key.pem, type:
$UPSDK/bin/cmail.txt
This command will save the certificate file to $UPSDK/config/clnt_cer.pem.
The upcerins utility prompts you for a password.
The upcerins utility parses the input certificate file and extracts the issued certificate from the mail message body. It then inserts the private key into the certificate and installs the results in the specified output certificate file. When you use UP.SDK tools and APIs to send notifications, you specify the filename of this certificate file.