McAfee MEJCAE-AM-DA Product Guide - Page 54

Adding an X.509 certificate to your key or keyring, Getting an X.509 certificate from a CA

Page 54 highlights

Working with X.509 Certificates Adding an X.509 certificate to your key or keyring Attribute Name: POBOX C (Country) DN (Distinguished Name) Description: The PO box or postal code of the holder of the certificate. The country of the holder of the certificate (e.g., "USA"). Typically the distinguished name of the company to which the certificate belongs. For a complete list of the certificate attributes that E-Business Server supports, including a list of Verisign-specific attributes, see Supported Certificate Attributes Adding an X.509 certificate to your key or keyring You may need to add an X.509 certificate to your keyring, such as a Root CA's certificate, or manually add an X.509 certificate to your key pair from a file. To do either, use the --key-add option with the --x509 modifier. ebs --key-add --x509 Where is the name of the file containing the certificate you want to add. E-Business Server supports importing of PEM, DER (PKCS #7) and PKCS #12 formatted certificates. If the file extension is .pem, E-Business Server assumes the certificate is PEM-encoded. If the file extension is .p12 or .pfx, E-Business Server assumes the certificate is PKCS #12 formatted. For example, if you enter the following command, E-Business Server automatically knows to add a PEM-encoded certificate: ebs --key-add cert.pem --x509 If the binary file is PKCS #12, then you must include the --with-private modifier (as shown below). ebs --key-add --x509 --with-private This forces the PKCS #12 import format of the X.509 certificate and includes the private portion of your key pair. Note: When you add or change information in your key pair, always update it on the key server so that your most current key can be available to anyone. See Adding your key to a key server on page 26 for instructions. Getting an X.509 certificate from a CA You can request an X.509 digital certificate and add it to your key pair using E-Business Server options and your company's Certificate Authority (CA) or a public CA (for example, VeriSign). There are two main methods for requesting and adding X.509 certificates to your keys-automatically and manually. Both methods are described in the following sections. For either method you must first obtain and add the Root CA certificate from the Certificate Authority and add it to your keyring. For instructions, see Retrieving and adding the Root CA certificate to your keyring on page 53. Automatically requesting and adding an X.509 certificate to your key Note: The instructions in this section describe how to add an X.509 certificate to your key pair if you are using the Net Tools PKI Server. The process and terminology may vary between Certificate Authorities and some of the certificate attributes and certification procedures (identity-checks) you must use when interacting with your CA is a policy decision. You may need to consult the administrator of your Certificate Authority for instructions. There are four main steps to automatically requesting and adding an X.509 certificate to your key pair: 1 Retrieve the Root CA certificate from the CA and add it to your keyring (see Retrieving and adding the Root CA certificate to your keyring). E-Business Server™ 8.6 Product Guide 52

  • 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
52
Working with X.509 Certificates
Adding an X.509 certificate to your key or keyring
For a complete list of the certificate attributes that E-Business Server supports, including a list of
Verisign-specific attributes, see
Supported Certificate Attributes
Adding an X.509 certificate to your key or keyring
You may need to add an X.509 certificate to your keyring, such as a Root CA’s certificate, or manually add
an X.509 certificate to your key pair from a file. To do either, use the
--key-add
option with the
--x509
modifier.
ebs --key-add <filename> --x509
Where
<filename>
is the name of the file containing the certificate you want to add.
E-Business Server supports importing of PEM, DER (PKCS #7) and PKCS #12 formatted certificates. If the
file extension is
.pem
, E-Business Server assumes the certificate is PEM-encoded. If the file extension is
.p12
or
.pfx
, E-Business Server assumes the certificate is PKCS #12 formatted.
For example, if you enter the following command, E-Business Server automatically knows to add a
PEM-encoded certificate:
ebs --key-add cert.pem --x509
If the binary file is PKCS #12, then you must include the
--with-private
modifier (as shown below).
ebs --key-add <filename> --x509 --with-private
This forces the PKCS #12 import format of the X.509 certificate and includes the private portion of your key
pair.
Note:
When you add or change information in your key pair, always update it on the key server so that your most current
key can be available to anyone. See
Adding your key to a key server
on page 26
for instructions.
Getting an X.509 certificate from a CA
You can request an X.509 digital certificate and add it to your key pair using E-Business Server options and
your company’s
Certificate Authority
(CA) or a public CA (for example, VeriSign). There are two main
methods for requesting and adding X.509 certificates to your keys—automatically and manually. Both
methods are described in the following sections.
For either method you must first obtain and add the Root CA certificate from the Certificate Authority and
add it to your keyring. For instructions, see
Retrieving and adding the Root CA certificate to your keyring
on
page 53
.
Automatically requesting and adding an X.509 certificate to your key
Note:
The instructions in this section describe how to add an X.509 certificate to your key pair if you are using the Net
Tools PKI Server. The process and terminology may vary between Certificate Authorities and some of the certificate
attributes and certification procedures (identity-checks) you must use when interacting with your CA is a policy decision.
You may need to consult the administrator of your Certificate Authority for instructions.
There are four main steps to automatically requesting and adding an X.509 certificate to your key pair:
1
Retrieve the Root CA certificate from the CA and add it to your keyring (see
Retrieving and adding the
Root CA certificate to your keyring
).
POBOX
The PO box or postal code of the holder of the certificate.
C (Country)
The country of the holder of the certificate (e.g., “USA”).
DN (Distinguished Name)
Typically the distinguished name of the company to which the certificate
belongs.
Attribute Name:
Description: