McAfee MEJCAE-AM-DA Product Guide - Page 22

Creating subkeys, Creating a key pair on a smart card, To create an encryption subkey

Page 22 highlights

Creating and Exchanging Keys Creating a key pair We recommend that you use the --key-export command option to copy your new public key from your public keyring and place it in a separate public key file suitable for distribution to your friends. The public key file can be sent to your friends for inclusion in their public keyrings. For more information, see Exchanging keys with others on page 24. Creating subkeys Note: RSA Legacy keys do not support subkeys. Every key is actually two keys: a signing key and an encryption subkey. E-Business Server provides the ability to create and revoke new encryption keys without sacrificing your master signing key and the signatures collected on it. One of the most common uses for this feature is to create multiple subkeys that are set to be used during different periods of the key's lifetime. For example, if you create a key that will expire in three years, you might also create 3 subkeys and use each of them for one of the years in the lifetime of the key. This can be a useful security measure and provides an automatic way to periodically switch to a new encryption key without having to recreate and distribute a new public key. Note: To avoid confusion later, do not overlap the validity periods of your subkeys. To create an encryption subkey: 1 Enter the following on the command line: ebs --key-gen --subkey 2 Enter the user ID for the existing master key. For example: [email protected] 3 Enter the passphrase for the existing master key. 4 Choose a size for the encryption subkey, or enter the desired key size in bits. • Enter 1 to select a key size of 1024 bits. • Enter 2 to select a key size of 2048 bits. • Enter 3 to create a key of 3072 bits. • Enter any key size you want between 1024 bits and 4096 bits. 5 If prompted, enter random data to use for the key generation process. E-Business Server creates the subkey. For information on viewing keys, see Viewing your keys on page 28. Creating a key pair on a smart card Note: This section applies to Windows installations only, and assumes that you have a supported smart card reader installed with appropriate driver software. You can create and store your keys on a smart card and access them using a PIN number rather than a passphrase. The smart card has the added protection of being with you at all times-a key on a smart card is less vulnerable than the same key stored on your computer. The private portion of your key pair never leaves your smart card-it's non-exportable. Therefore, decryption and signing operations take place directly on the card. The exception to this would be if you generate a key pair on your desktop, rather than on the card, and then copy the key pair to your card. Before you can generate a key on a smart card, you must specify the smart card type using the SMARTCARD-TYPE parameter in the E-Business Server configuration file or by setting it on the command line using --smartcard-type. For more information, see SMARTCARD-TYPE on page 105. E-Business Server™ 8.6 Product Guide 20

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188

E-Business Server
8.6
Product Guide
20
Creating and Exchanging Keys
Creating a key pair
We recommend that you use the
--key-export
command option to copy your new public key from your public
keyring and place it in a separate public key file suitable for distribution to your friends. The public key file
can be sent to your friends for inclusion in their public keyrings. For more information, see
Exchanging keys
with others
on page 24
.
Creating subkeys
Note:
RSA Legacy keys do not support subkeys.
Every key is actually two keys: a signing key and an encryption subkey. E-Business Server provides the
ability to create and revoke new encryption keys without sacrificing your master signing key and the
signatures collected on it. One of the most common uses for this feature is to create multiple subkeys that
are set to be used during different periods of the key's lifetime.
For example, if you create a key that will expire in three years, you might also create 3 subkeys and use
each of them for one of the years in the lifetime of the key. This can be a useful security measure and
provides an automatic way to periodically switch to a new encryption key without having to recreate and
distribute a new public key.
Note:
To avoid confusion later, do not overlap the validity periods of your subkeys.
To create an encryption subkey:
1
Enter the following on the command line:
ebs --key-gen --subkey
2
Enter the user ID for the existing master key. For example:
3
Enter the passphrase for the existing master key.
4
Choose a size for the encryption subkey, or enter the desired key size in bits.
• Enter
1
to select a key size of 1024 bits.
• Enter
2
to select a key size of 2048 bits.
• Enter
3
to create a key of 3072 bits.
Enter any key size you want between 1024 bits and 4096 bits.
5
If prompted, enter random data to use for the key generation process.
E-Business Server creates the subkey. For information on viewing keys, see
Viewing your keys
on
page 28
.
Creating a key pair on a smart card
Note:
This section applies to Windows installations only, and assumes that you have a supported smart card reader
installed with appropriate driver software.
You can create and store your keys on a smart card and access them using a PIN number rather than a
passphrase. The smart card has the added protection of being with you at all times—a key on a smart card
is less vulnerable than the same key stored on your computer.
The private portion of your key pair never leaves your smart card—it’s non-exportable. Therefore,
decryption and signing operations take place directly on the card. The exception to this would be if you
generate a key pair on your desktop, rather than on the card, and then copy the key pair to your card.
Before you can generate a key on a smart card, you must specify the smart card type using the
SMARTCARD-TYPE
parameter in the E-Business Server configuration file or by setting it on the command line
using
--smartcard-type.
For more information, see
SMARTCARD-TYPE
on page 105
.