Managing certificates on the desktop

The PocketBuilder Certificate Manager lets you manage certificates that you create and certificates created by other people, intermediate certificate authorities, and trusted root certification authorities.

The PocketBuilder setup program installs several test certificates and packages in the PocketBuilder/Support/TestCertificates directory. You can import these certificates to your system certificate store. Using the PocketBuilder Certificate Manager, you can also export certificates and delete certificates you no longer need.

Figure 27-2: PocketBuilder Certificate Manager

Shown is the Pocket Builder Certificate Manager. It shows three sample certificates that install with PocketBuilder. The certificate marked Pocket Builder Test Privileged Code Signing is selected. A status box indicates that the certificate is intended for code signing purposes.

NoteManaging certificates on a connected device The PocketBuilder Certificate Manager manages certificates only on the desktop. To manage certificates on a connected device, you can use the Device Certificate Management tool. For information about this tool, see “Managing certificates on a connected device”.

StepsTo run the PocketBuilder Certificate Manager:

  1. Select File>New and in the Tool tab page, select Manage Certificates.

Importing certificates to the certificate store

The Certificate Import Wizard helps you copy certificates, certificate trust lists, and certificate revocation lists from your disk to a certificate store.

StepsTo import the test certificates:

  1. Select File>New and in the Tool tab page, select Manage Certificates.

  2. Click the Import button to start the Certificate Import wizard and then click Next.

  3. To select the test certificate file you want to import, click Browse and then navigate to the PocketBuilder/Support/TestCertificates directory.

  4. In the Files of Type drop-down list, select Personal Information Exchange (*.pfx, *.p12), then select the path to the PKTestCert_Root.PFX file in the Test Certificates directory, and then click Next.

  5. Enter sybase for the private key password and click Next.

  6. For the PKTestCert_Root certificate, specify the certificate store by selecting the Place all certificates in the following store option, click the Browse button, select the Trusted Root Certification Authorities entry, and click OK.

  7. Click Next and then click Finish.

  8. Repeat steps 1-7 for the derived certificate package PKTestCert_Unprivileged.PFX, but in step 6, select the Automatically select the certificate store based on the type of certificate option.

  9. Repeat steps 1-7 for the derived certificate package PKTestCert_Privileged.PFX, but in step 6, select the Automatically select the certificate store based on the type of certificate option.

Exporting certificates

The Certificate Export Wizard helps you export certificates, certificate trust lists, and certificate revocation lists in a new format and from the certificate store to other locations.

StepsTo export certificates:

  1. Select the certificate you want to export and click the Export button.

  2. In the Certificate Export Wizard, specify the export file format and the file name and click Finish.

Deleting certificates

You can delete certificates using the PocketBuilder Certificate Manager.

StepsTo delete certificates:

  1. Select the certificates you want to delete, click the Remove button, and then confirm your request by clicking the Yes button.