Generating a Key Pair

You need to generate a key-pair file that holds the public and private keys for the card processor. These keys are used during SSL communications to the bank card gateway. The private key is stored in encrypted form on the server machine using a password you specify.

To generate a key pair file:

  1. From the system command line, Change your directory to the server root:
    cd

  2. Run the key file generation program. It is in the bin directory of your serv er root. Type:
    bin/livepayment/admin/bin/sec-key

  3. When prompted, type a location for the new key pair file. Usually, the key pair file is stored in the server root, under the directory /config, with the name CCPD-Key.db.

    On your system, it would be:
    /config/CCPD-Key.db

  4. A screen with a progress meter appears. Type any random keys at different sp eeds until the progress meter is full. The time between each of your keystrokes will be used to create a unique key pair file.

  5. When prompted, type in a password for your key pair. Any time the card processor is started, you must type the password to decrypt the key file and extract the public and private keys. The password must be at least eight characters in length. It is required that the password have at least one non-alphabetical character (a number or punctuation mark) somewhere in the middle. Make sure you memorize this password.

  6. Retype the password.

  7. In the Key Pair File form, for the Key File Path field, type the path (either absolute or relative to the LivePayment config directory) and file name of the key file. This directory should be safe from other users. For example, use a directory that only you have read and write access to.

  8. Click OK. A key pair file is generated and placed in the directory you specified. Continue by requesting a certificate.