Web example: Entering a peer host public key

Network configuration

As shown in Figure-1, to prevent illegal access from Device A to Device B, Device B authenticates Device A through a digital signature. Before configuring authentication parameters on Device B, use the following procedure to configure the public key of Device A on Device B:

Figure-1 Network diagram

Software versions used

This configuration example was created and verified on R9900P2705 of the F5000-AI-55-G device.

Restrictions and guidelines

When you manually enter the peer host public key, make sure the entered key is in the correct format. To obtain the peer host public key in the correct format, display the public key on the peer device and record the key. The format of the public key displayed in any other way might be incorrect. If the key is not in the correct format, the system discards the key and displays an error message.

As a best practice, import rather than enter the peer host public key if you are not sure whether the device supports the format of the recorded peer host public key.

Procedures

Configuring Device A

# On the top navigation bar, click Objects.

# From the navigation pane, select PublicKey Cert > Public Key Management > Local Key Pairs.

# Click Create. The Create Local Key Pair page opens.

# Create an RSA local key pair as follows:

# Click OK.

# Click key pair name devicea-rsa to open the Key Pair Details page.

# Record the data displayed in the Public key field.

Figure-2 Creating a local key pair

Figure-3 Key details

Configuring Device B

# On the top navigation bar, click Objects.

# From the navigation pane, select PublicKey Cert > Public Key Management > Local Key Pairs.

# Click Import. The Import Peer Host Public Key page opens.

# Configure the peer host public key as follows:

# Click OK.

Figure-4 Entering the peer host public key

Verifying the configuration

  1. Display information about the local public key on Device A.

    # On the top navigation bar, click Objects.

    # From the navigation pane, select PublicKey Cert > Public Key Management > Local Key Pairs.

    # Click the name for key pair devicea-rsa to view its details.

    Figure-5 Local host public key information

  1. Display information about the peer public key configured on Device B.

    # On the top navigation bar, click Objects.

    # From the navigation pane, select PublicKey Cert > Public Key Management > Peer Public Keys.

    # Click the name for public key peer-rsa to view its details.

    Figure-6 Manually configured peer host public key