If you configured Blesta with a Private Key Passphrase, and you've forgotten it, you'll be unable to process Credit Card and ACH payments. You will also be unable to recover any Credit Card or ACH payment details. However, this guide will walk you through the steps for regenerating an encryption key set that will allow you to again begin accepting and processing new Credit Card and ACH payments.
Remove the existing private_key, public_key, and private_key_passphrase values stored for your company_id from the company_setting table. The following is a query that will do just that (replace COMPANYID with your actual company ID).
UPDATE `company_settings` SET `value`='' WHERE `company_id`=COMPANYID AND `key` IN ('private_key', 'public_key', 'private_key_passphrase') |
Execute the following command, replacing USER with your API username, KEY with your API user key, and COMPANYID with your company ID.
php index.php api/companies/generateKeyPair.json -u USER -k KEY -m POST -p "company_id=COMPANYID&bits=3072" |
Generating encryption keys is hard work. This may take a minute or so to complete. When finished you should receive output similar to
|
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|