Public-Key Local Create - HP 5920 Command Reference Manual

Table of Contents

Advertisement

Execute the peer-public-key end command to exit public key view, and the system saves the public
3.
key.
The system verifies the public key before saving it. If the key is not in the correct format, the system
discards the key and displays an error message. If the key is valid, for example, the key displayed by the
display public-key local public command, the system saves the key.
Examples
# Exit public key view and save the configured public key.
<Sysname> system-view
[Sysname] public-key peer key1
Public key view: return to System View with "peer-public-key end".
[Sysname-pkey-public-key-key1]30819F300D06092A864886F70D010101050003818D0030818902818
100C0EC8014F82515F6335A0A
[Sysname-pkey-public-key-key1]EF8F999C01EC94E5760A079BD73E4F4D97F3500EDB308C29481B77E
719D1643135877E13B1C531B4
[Sysname-pkey-public-key-key1]FF1877A5E2E7B1FA4710DB0744F66F6600EEFE166F1B854E2371D5B
952ADF6B80EB5F52698FCF3D6
[Sysname-pkey-public-key-key1]1F0C2EAAD9813ECB16C5C7DC09812D4EE3E9A0B074276FFD4AF2050
BD4A9B1DDE675AC30CB020301
[Sysname-pkey-public-key-key1]0001
[Sysname-pkey-public-key-key1] peer-public-key end
[Sysname]
Related commands
display public-key local public
display public-key peer
public-key peer

public-key local create

Use public-key local create to create local asymmetric key pairs.
Syntax
public-key local create { dsa | ecdsa | rsa } [ name key-name ]
Default
No local asymmetric key pair exists.
Views
System view
Predefined user roles
network-admin
Parameters
dsa: Creates a DSA key pair.
ecdsa: Creates an ECDSA key pair.
159

Advertisement

Table of Contents
loading

This manual is also suitable for:

59005920 series5900 series

Table of Contents