[Cover] [Previous Section] [Next Section] [Index]

Current chapter: Notification Utilities
Section 23 out of 79 total sections , Section 5 out of 7 sections in this chapter


Installing certificates with upcerins

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:

  1. Make sure the UP.SDK bin directory is in your path and that the UPSDK environment variable is set.
  2. For more information, see Steps 1 and 2 in Requesting certificates with upcerreq.

  3. Make sure you know where the certificate response file and the associated private key file are.
  4. 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).

  5. Run the certificate installation utility.
  6. The utility has the following options:

    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:

    This command will save the certificate file to $UPSDK/config/clnt_cer.pem.

    The upcerins utility prompts you for a password.

  7. Enter the password you specified when you generated the certificate request (see Step Step 5 in Requesting certificates with upcerreq).
  8. 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.


[Cover] [Previous Section] [Next Section] [Index]

Current chapter: Notification Utilities
Section 23 out of 79 total sections , Section 5 out of 7 sections in this chapter


Copyright © 1999, Unwired Planet, Inc. All rights reserved.