beautypg.com

Installing a root certificate to the java plug-in, Displaying and deleting certificates, 10 commands to display and delete ssl certificates – HP StorageWorks 2.128 SAN Director Switch User Manual

Page 57

background image

Fabric OS 5.x administrator guide

57

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:

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