beautypg.com

Crypto certificate import – Dell PowerEdge M605 User Manual

Page 545

background image

Web Server Commands

543

Example

The following example generates a self-signed HTTPS certificate.

console(config)#crypto certificate 1 generate

console(config-crypto-cert)#

crypto certificate import

Use the crypto certificate import command in Global Configuration mode to import a certificate
signed by the Certification Authority for HTTPS.

Syntax

crypto certificate number import

number—Specifies the certificate number. (Range: 1 - 2)

Default Configuration

This command has no default configuration.

Command Mode

Global Configuration mode

User Guidelines

Use this command to enter an external certificate (signed by the Certification Authority) to the
switch. To end the session, add a period (.) on a separate line after the input, and press ENTER.

The imported certificate must be based on a certificate request created by the crypto certificate
request
privileged EXEC command.

If the public key found in the certificate does not match the switch's SSL RSA key, the command
fails.

This command is not saved in the router configuration; however, the certificate imported by this
command is saved in the private configuration (which is never displayed to the user or backed up to
another switch).

Example

The following example imports a certificate sighed by the Certification Authority for HTTPS.

console(config)#crypto certificate 1 import

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

dHmUgUm9vdCBDZXJ0aWZpZXIwXDANBgkqhkiG9w0BAQEFAANLADBIAkEAp4HS