McAfee MEJCAE-AM-DA Product Guide - Page 127

Syntax, Modifiers, Notes, For RSAv3 keys

Page 127 highlights

Using Command-Line Options Syntax ebs --key-gen [--userid ] [--subkey] [--key-type ] [--expires-after ] [--keyserver ] [--key-size ] [--passphrase ][--sign-only] [--smartcard [--smartcard-dll [--smartcard-type ]]] Modifiers --expires-after Specifies the validity period for a signature or a newly generated key where is a number of days or an absolute date in YYYY-MM-DD format. If you specify a start date using the --start-date option, then the number of days follows the start date. --keyserver Sends the newly generated key to a keyserver. If the parameter is not specified, the default keyserver is used. --key-size Selects a custom key size where is the number of bits to make the new key. Any size may be entered, with a minimum of 1024 bits and a maximum of 4096 bits. If not specified, then the key will default to the size specified in the configuration file. Note: If creating an RSA LEGACY key, the maximum size is 2048 bits. --key-type Specifies the type of key you want to create. The available key types are DSS, RSA, and RSA-LEGACY. This option is disallowed if --subkey is also specified. --passphrase Specifies the passphrase for your new key. If the passphrase contains spaces, then it must be enclosed in quotes. --sign-only When creating a new key, this option specifies that the key is a signing key only without an encryption subkey. If used, then --keysize must specify a valid signing key size (1024 for DSS keys; less than 4096 for RSA v4 keys). Note: This option is not valid for RSA LEGACY keys. --smartcard Specifies that you want to generate the new key on a smartcard. --smartcard-dll Specifies the path to the dll provided by the manufacturer. This is only necessary if you are using a smartcard type that is not supported by E-Business Server. --smartcard-type Specifies the type of smartcard you are using. Your options are GemPlus, Rainbow, Schlumberger, or other. If you specify other, then you must also specify the path to the dll using --smarcard-dll. --start-date When generating a subkey, this option specifies the starting date for the validity period of the subkey. Enter the date in YYYY-MM-DD format. If you do not specify a date, then the current date is used. Note: This option is only valid when generating a subkey. --subkey Specifies that key generation produces a new subkey. --userid 149 characters maximum. When generating a new key, this option identifies the name and email address for the new key. A user ID for a new key should have a name and an email-address in angle brackets. When generating a subkey, this option identifies the keypair to which the new subkey is added. Notes • For DH/DSS keys, --key-size indicates the encryption key size, which ranges from 1024 bits to 4096 bits with a default value of 2048 bits. The DSS signing key is always 1024 bits. • For RSAv3 keys, --key-size indicates the size of the (only) key, which ranges from 1024 bits to 2048 bits (the default). 125 E-Business Server™ 8.6 Product Guide

  • 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

125
E-Business Server
8.6
Product Guide
Using Command-Line Options
Syntax
ebs --key-gen [--userid <name>] [--subkey] [--key-type <type>] [--expires-after <time>] [--keyserver
<url>] [--key-size <size>] [--passphrase <passphrase>][--sign-only] [--smartcard [--smartcard-dll
<path> [--smartcard-type <type>]]]
Modifiers
Notes
For DH/DSS keys,
--key-size
indicates the encryption key size, which ranges from 1024 bits to 4096
bits with a default value of 2048 bits. The DSS signing key is always 1024 bits.
For RSAv3 keys,
--key-size
indicates the size of the (only) key, which ranges from 1024 bits to 2048 bits
(the default).
--expires-after
Specifies the validity period for a signature or a newly generated key where
<time> is a number of days or an absolute date in YYYY-MM-DD format.
If you specify a start date using the --start-date option, then the number of days
follows the start date.
--keyserver
Sends the newly generated key to a keyserver. If the <url>
parameter is not
specified, the default keyserver is used.
--key-size
Selects a custom key size where <size> is the number of bits to make the new
key. Any size may be entered, with a minimum of 1024 bits and a maximum of
4096 bits.
If not specified, then the key will default to the size specified in the configuration
file.
Note:
If creating an RSA LEGACY key, the maximum size is 2048 bits.
--key-type
Specifies the type of key you want to create. The available key types are DSS,
RSA, and RSA-LEGACY.
This option is disallowed if --subkey is also specified.
--passphrase
Specifies the passphrase for your new key. If the passphrase contains spaces,
then it must be enclosed in quotes.
--sign-only
When creating a new key, this option specifies that the key is a signing key only
without an encryption subkey.
If used, then --keysize must specify a valid signing key size (1024 for DSS keys;
less than 4096 for RSA v4 keys).
Note:
This option is not valid for RSA LEGACY keys.
--smartcard
Specifies that you want to generate the new key on a smartcard.
--smartcard-dll
Specifies the path to the dll provided by the manufacturer. This is only necessary
if you are using a smartcard type that is not supported by E-Business Server.
--smartcard-type
Specifies the type of smartcard you are using. Your options are GemPlus,
Rainbow, Schlumberger, or other. If you specify other, then you must also
specify the path to the dll using --smarcard-dll.
--start-date
When generating a subkey, this option specifies the starting date for the validity
period of the subkey. Enter the date in YYYY-MM-DD format. If you do not
specify a date, then the current date is used.
Note:
This option is only valid when generating a subkey.
--subkey
Specifies that key generation produces a new subkey.
--userid
149 characters maximum. When generating a new key, this option identifies the
name and email address for the new key. A user ID for a new key should have
a name and an email-address in angle brackets.
When generating a subkey, this option identifies the keypair to which the new
subkey is added.