beautypg.com

Displaying the certificate bound to an ssl profile, Displaying the key that is bound to an ssl profile – Brocade Virtual ADX Security Guide (Supporting ADX v03.1.00) User Manual

Page 164

background image

152

Brocade Virtual ADX Security Guide

53-1003250-01

SSL debug and troubleshooting commands

6

Displaying the certificate bound to an SSL profile

Use the show ssl profile cert command on the rconsole, as shown in the following, to display the
certificate bound to a specified profile. This is useful when checking to see if a certificate is intact
on the BPs.

Syntax: show ssl profile profile-name cert

The profile-name variable specifies name of the profile for the certificate.

Displaying the key that is bound to an SSL profile

Use the show ssl profile key command on the rconsole, as shown in the following, to display the key
bound to a specified profile. This is useful when checking to see if a key is intact on the BPs.

Virtual ADX#rconsole 1 1

Virtual ADX#show ssl profile test1 key

SSL profile : test1

Key file : \usb0\certstor\key7.key

Virtual ADX#rconsole 1 1

Virtual ADX1/1#show ssl profile prof1 cert

SSL profile : prof1

Certificate:

Data:

Version: 00000003 (0x00000002)

Serial Number: 00000002 (0x00000002)

Signature Algorithm: sha1WithRSAEncryption

Issuer: C=us, ST=ca, L=sj, O=brocad, OU=web, CN=www.brocade.com

Validity

Not Before: Jun 3 12:53:01 2009 GMT

Not After : Jun 3 12:53:01 2010 GMT

Subject: C=us, ST=ca, L=sj, O=brocad, OU=web, CN=www.brocade.com

Subject Public Key Info:

Public Key Algorithm: rsaEncryption

RSA Public Key: (1024 bit)

Modulus (1024 bit):

00:d9:ef:2b:51:f9:70:b3:67:f3:17:e2:10:29:f5:

4d:43:8d:38:6f:bc:64:bf:92:1d:ec:4b:53:3a:3d:

cf:f9:35:72:55:18:b5:eb:ea:46:4a:68:2d:20:de:

f0:6f:05:24:89:a5:d6:a8:67:66:fe:db:5a:3d:5f:

8d:44:31:6f:6d:cc:17:8f:7a:a1:7b:49:8a:25:29:

eb:d5:5c:a9:58:20:43:f2:57:0b:7c:09:a5:8a:ac:

bc:71:c3:6f:58:9e:41:3f:60:8d:8d:94:a4:3c:dd:

1e:53:dd:9e:21:e7:c8:1e:58:e8:d5:cf:0c:41:84:

57:e9:9f:ad:9a:e8:16:61:f1

Exponent: 00010001 (0x00010001)

Signature Algorithm: sha1WithRSAEncryption

59:0b:30:f0:06:c6:2c:b3:73:d3:40:91:5c:47:bb:d4:9c:ae:

bb:d3:61:90:8a:d4:04:ee:81:a2:57:6e:76:a3:0b:a2:1a:08:

9d:ce:d3:4a:95:ab:ef:62:36:6b:bc:ba:30:e3:4a:ce:1a:79:

fe:b3:95:d6:4c:57:2d:3d:12:a9:b6:cf:aa:7d:80:83:1d:d2:

3f:49:47:1e:d8:1f:94:47:ae:2b:f7:68:4f:51:eb:8e:30:df:

d5:27:cd:d4:41:1a:11:85:a6:d1:1c:5b:c0:1a:60:f6:52:f0:

8c:bd:d8:a0:56:cf:88:97:95:f4:30:e6:78:65:0e:ac:b7:80:

fa:23