E-Business Server:How to export all keys from a keyring

From SDS
Jump to navigation Jump to search



How to export all keys from a keyring

Technical Articles ID: SDSKB7


Environment E-Business Server 8.x and 7.x


Summary When exporting a Public Key or Keypair, you have to specify the UserID or KeyID. Because the wildcard characters are treated as normal characters, you cannot simply specify them to match all of the keys.


Solution To export all of the keys, use the following commands

Backup all public keys:

ebs --key-export "" --multi --output backup.asc --armor

Backup all public and private keys:

ebs --key-export "" --multi --output backup.asc --armor --with-private

By using double quotes with no data between them, all keys will be matched.