beautypg.com

Ip https certificate – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 369

background image

Web Server Commands

Page 368

Example

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

ip https certificate

The ip https certificate Global Configuration mode command configures the active certificate for HTTPS. Use the
no form of this command to return to the default configuration.

Syntax

ip https certificate number

no ip https certificate

Parameters

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

Default Configuration

Certificate number 1.

Command Mode

Global Configuration mode

User Guidelines

The crypto certificate generate command should be used to generate HTTPS certificates.

Example

The following example configures the active certificate for HTTPS.

console(config)# crypto certificate 1 import

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

dHmUgUm9vdCBDZXJ0aWZpZXIwXDANBgkqhkiG9w0BAQEFAANLADBIAkEAp4HS

nnH/xQSGA2ffkRBwU2XIxb7n8VPsTm1xyJ1t11a1GaqchfMqqe0kmfhcoHSWr

yf1FpD0MWOTgDAwIDAQABo4IBojCCAZ4wEwYJKwYBBAGCNxQCBAYeBABDAEEw

CwR0PBAQDAgFGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFAf4MT9BRD47

ZvKBAEL9Ggp+6MIIBNgYDVR0fBIIBLTCCASkwgdKggc+ggcyGgclsZGFwOi8v

L0VByb3h5JTIwU29mdHdhcmUlMjBSb290JTIwQ2VydGlmaWVyLENOPXNlcnZl

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

Certificate imported successfully.

Issued to: router.gm.com

Issued by: www.verisign.com

Valid from: 8/9/2003 to 8/9/2004

Subject: CN= router.gm.com, 0= General Motors, C= US

Finger print: DC789788 DC88A988 127897BC BB789788

console(config)# ip https certificate 1