HP StorageWorks 2/16V HP StorageWorks Fabric OS 5.X Procedures User Guide (AA- - Page 57

Installing a root certificate to the Java Plug-in, Displaying and deleting certificates

Page 57 highlights

7. Browse to the certificate location and select the certificate. For example, select nameRoot.crt. 8. Click Open and follow the instructions to import the certificate. Installing a root certificate to the Java Plug-in For information on Java requirements, see "Browser and Java support" on page 53. This procedure is a guide for installing a root certificate to the Java Plug-in on the management workstation. Install the root certificate, if it is not already installed to the plug-in. For detailed instructions, see the documentation that came with the certificate and to the Sun Microsystems web site: www.sun.com. 1. Copy the root certificate file from its location on the FTP server to the Java Plug-in bin. For example, the bin location might be: C: \program files\java\j2re1.4.2_03\bin 2. Open a Command Prompt window and change to the Java Plug-in bin directory. 3. Issue the keytool command and respond to the prompts. For example: C:\Program Files\Java\j2re1.4.2_03\bin> keytool -import -alias RootCert -file RootCert.crt -keystore ..\lib\security\RootCerts Enter keystore password: changeit Owner: CN=Brocade, OU=Software, O=Brocade Communications, L=San Jose, ST=California, C=US Issuer: CN=Brocade, OU=Software, O=Brocade Communications, L=San Jose, ST=California, C=US Serial number: 0 Valid from: Thu Jan 15 16:27:03 PST 2004 until: Sat Feb 14 16:27:03 PST 2004 Certificate fingerprints: MD5: 71:E9:27:44:01:30:48:CC:09:4D:11:80:9D:DE:A5:E3 SHA1: 06:46:C5:A5:C8:6C:93:9C:FE:6A:C0:EC:66:E9:51:C2:DB:E6:4F:A1 Trust this certificate? [no]: yes Certificate was added to keystore In the example, changeit is the default password and RootCert is an example of a root certificate name. Displaying and deleting certificates Table 10 summarizes the commands that display and delete certificates. For details on these commands, see the HP StorageWorks Fabric OS 5.x command reference guide. Table 10 Commands to display and delete SSL certificates Command Description secCertUtil show secCertUtil show filename secCertUtil showcsr secCertUtil delete filename secCertUtil delcsr Displays the state of the SSL key and a list of installed certificates Displays the contents of a specific certificate Displays the contents of a CSR Deletes a specified certificate Deletes a CSR Fabric OS 5.x administrator guide 57

  • 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
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248

Fabric OS 5.x administrator guide
57
7.
Browse to the certificate location and select the certificate.
For example, select
name
Root.crt.
8.
Click
Open
and follow the instructions to import the certificate.
Installing a root certificate to the Java Plug-in
For information on Java requirements, see ”
Browser and Java support
” on page 53.
This procedure is a guide for installing a root certificate to the Java Plug-in on the management
workstation. Install the root certificate, if it is not already installed to the plug-in. For detailed instructions,
see the documentation that came with the certificate and to the Sun Microsystems web site:
www.sun.com
.
1.
Copy the root certificate file from its location on the FTP server to the Java Plug-in bin.
For example, the bin location might be:
C: \program files\java\j2re1.4.2_03\bin
2.
Open a Command Prompt window and change to the Java Plug-in
bin
directory.
3.
Issue the keytool command and respond to the prompts. For example:
In the example,
changeit
is the default password and
RootCert
is an example of a root certificate
name.
Displaying and deleting certificates
Table 10
summarizes the commands that display and delete certificates. For details on these commands,
see the
HP StorageWorks Fabric OS 5.x command reference guide
.
C:\Program Files\Java\j2re1.4.2_03\bin>
keytool -import -alias
RootCert -file
RootCert.crt -keystore ..\lib\security\RootCerts
Enter keystore password:
changeit
Owner: CN=Brocade, OU=Software, O=Brocade Communications, L=San Jose,
ST=California, C=US
Issuer: CN=Brocade, OU=Software, O=Brocade Communications, L=San Jose,
ST=California, C=US
Serial number: 0
Valid from: Thu Jan 15 16:27:03 PST 2004 until: Sat Feb 14 16:27:03 PST 2004
Certificate fingerprints:
MD5:
71:E9:27:44:01:30:48:CC:09:4D:11:80:9D:DE:A5:E3
SHA1: 06:46:C5:A5:C8:6C:93:9C:FE:6A:C0:EC:66:E9:51:C2:DB:E6:4F:A1
Trust this certificate? [no]:
yes
Certificate was added to keystore
Table 10
Commands to display and delete SSL certificates
Command
Description
secCertUtil show
Displays the state of the SSL key and a list of installed certificates
secCertUtil show
filename
Displays the contents of a specific certificate
secCertUtil showcsr
Displays the contents of a CSR
secCertUtil delete
filename
Deletes a specified certificate
secCertUtil delcsr
Deletes a CSR