000015183 - Appliance backup script fails with error 'encryption failed: public key not found'

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000015183
Applies ToRSA Key Manager Appliance 2.7SP1
IssueAppliance backup script fails with error "encryption failed: public key not found"
The following error shows up at the end of output when RKM Appliance backup script RKMABackup.sh is run:

gpg: RKMABackup: skipped: public key not found
gpg: /opt/rkm-appliance-backup/work/RKMA-Backup-20110209211734/RKMA-Backup-su-rkm01.rsa.com-20110209211734.tar.gz: encryption failed: public key not found
GPG keys for encryption and SSH keys for transferring backup file to an external archive server were created as per procedure
CauseThe gpg key created for backups (using command "gpg --gen-key") was named something other than "RKMABackup", whereas the backup script RKMABackup.sh specifically looks for a key named "RKMABackup" for encrypting backup files.
ResolutionCreate a new gpg key (using command "gpg --gen-key") and name it "RKMABackup".  The backup script RKMABackup.sh should now successfully encrypt the backup file.
Legacy Article IDa53982

Attachments

    Outcomes