D-Link DGS-510 Reference Manual page 560

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
Switch# crypto pki import TP1 pem tftp://10.1.1.2/name/msca password abcd1234 both
% Importing CA certificate...
Destination filename [name/msca.ca]?
Reading file from tftp://10.1.1.2/name/msca.ca
Loading name/msca.ca from 10.1.1.2 (via eth1/0/5):!
[OK - 1082 bytes]
% Importing private key PEM file...
Reading file from tftp://10.1.1.2/name/msca.prv
Loading name/msca.prv from 10.1.1.2 (via eth1/0/5):!
[OK - 573 bytes]
% Importing certificate PEM file...
Reading file from tftp://10.1.1.2/name/msca.crt
Loading name/msca.crt from 10.1.1.2 (via eth1/0/5):!
[OK - 1289 bytes]
% PEM files import succeeded.
Switch#
61-3
crypto pki trustpoint
This command is used to declare the trust-point that the Switch will use. Use the no form of this
command to delete all certificates and key pairs associated with the trust-point.
crypto pki trustpoint NAME
no crypto pki trustpoint NAME
Parameters
NAME
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use this command to declare a trust-point, which can be a self-signed root certificate authority (CA) or
a subordinate CA. Issuing this command will enter the CA-Trust-Point Configuration Mode.
Example
This example shows how to declare a trust-point "TP1" and specify it is a primary trust-point.
Switch# configure terminal
Switch(config)# crypto pki trustpoint TP1
Switch(ca-trustpoint)# primary
Switch(ca-trustpoint)#
Specifies to create a name for the trust-point.
557

Advertisement

Table of Contents
loading

Table of Contents