Back up and Restore code signing keys manually

Back up code signing keys

  1. Navigate to the folder that contains your code signing keys.
  2. Copy the following files to a backup file location:
    • barsigner.csk
    • barsigner.db
    • <yourkeyname>.p12
      The default file name for the developer certificate is author.p12

Restore code signing keys

Before you begin: Before restoring your code signing keys and developer certificates, make sure that you back up and remove any existing code signing keys and developer certificates.

  1. Navigate to the current file location for your code signing keys and developer certificates.
  2. Copy the following files from your backup file location to the default file location:
    • barsigner.csk
    • barsigner.db
    • <yourkeyname>.p12
      The default filename for the developer certificate is author.p12

Default location for code signing keys

By default, code signing keys are stored in a central location in your profile directory and used by all BlackBerry Tablet OS development tools. The default locations of these files vary based on operating system and are outlined in the following table.

In a Windows XP environment, the default %HOMEPATH% is C:\Documents and Settings\<username>. In a Windows Vista and Windows 7 environment, the default %HOMEPATH% is C:\Users\<username>.

Operating System

Default location

Windows XP

%HOMEPATH%\Local Settings\Application Data\Research In Motion

Windows Vista and Windows 7

%HOMEPATH%\AppData\Local\Research In Motion

Mac OS

~/Library/Research In Motion

UNIX and Linux

~/.rim