Importing The Public Key Of A Peer From A Public Key File - H3C S9500E Series Security Configuration Manual

Routing switches
Hide thumbs Also See for S9500E Series:
Table of Contents

Advertisement

[DeviceB-pkey-key-
code]5323E140A05E11EB29EE2E0DECC63B38807B9EED783AE38920D963A385DC25263
825EC6731020301
[DeviceB-pkey-key-code]0001
[DeviceB-pkey-key-code] public-key-code end
[DeviceB-pkey-public-key] peer-public-key end
Display the host public key of Device A saved on Device B.
[DeviceB] display public-key peer name devicea
=====================================
Key Name
Key Type
Key Module: 1024
=====================================
Key Code:
30819F300D06092A864886F70D010101050003818D0030818902818100D90003FA95F5A44A2A2CD3F81
4F985
4C4421B57CAC64CFFE4782A87B0360B600497D87162D1F398E6E5E51E5E353B3A9AB16C9E766BD995C6
69A78
4AD597D0FB3AA9F7202C507072B19C3C50A0D7AD3994E14ABC62DB125035EA326470034DC078B2BAA3B
C3BCA
80AAB5EE01986BD1EF64B42F17CCAE4A77F1EF999B2BF9C4A10203010001

Importing the public key of a peer from a public key file

Network requirements
Device A is authenticated when accessing Device B, so the public host public key of Device A
should be configured on Device B in advance.
In this example:
RSA is used.
The host public key of Device A is imported from the public key file to Device B.
Figure 35
Network diagram for importing the public key of a peer from a public key file
Configuration procedure
Create key pairs on Device A and export the host public key
1.
# Create RSA key pairs on Device A.
<DeviceA> system-view
[DeviceA] public-key local create rsa
Warning: The local key pair already exist.
Confirm to replace them? [Y/N]:y
: devicea
: RSA
116

Advertisement

Table of Contents
loading

Table of Contents