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

From SDS
Revision as of 11:37, 21 October 2019 by Badm1 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.