396CHAPTER 13: CRYPTOGRAPHY COMMANDS

„PEM-formatted certificate — ASCII text representation of the PKCS #7 certificate, consisting of up to 4096 characters, that you have obtained from the certificate authority.

Defaults — None.

Access — Enabled.

History —Introduced in MSS Version 3.0.

Usage — To use this command, you must already have generated a certificate request with the crypto generate request command, sent the request to the certificate authority, and obtained a signed copy of the WX switch certificate as a PKCS #7 object file. Then do the following:

1Open the PKCS #7 object file with an ASCII text editor such as Notepad or vi.

2Enter the crypto certificate command on the CLI command line.

3When MSS prompts you for the PEM-formatted certificate, paste the PKCS #7 object file onto the command line.

The WX switch verifies the validity of the public key associated with this certificate before installing it, to prevent a mismatch between the WX switch’s private key and the public key in the installed certificate.

Examples — The following command installs a certificate:

WX4400# crypto certificate admin Enter PEM-encoded certificate

-----BEGIN CERTIFICATE-----

MIIBdTCP3wIBADA2MQswCQYDVQQGEwJVUzELMAkGA1UECBMCQOExGjAYBgNVBAMU

EXR1Y2hwdWJzQHRycHouY29tMIGfMAOGCSqGSIb3DQEBAQAA4GNADCBiQKBgQC4

.....

2L8Q9tk+G2As84QYLm8wmVY>xP56M;CUAm908C2foYgOY40=

-----END CERTIFICATE-----

See Also

„crypto generate request on page 398

„crypto generate self-signedon page 400

Page 396
Image 396
3Com 3CRWX440095A Access Enabled History -Introduced in MSS Version, Examples The following command installs a certificate