---
title: Completing the Peer Key Exchange on the RPAM Connector
slug: kron-pam-installation-guides-v3/completing-the-peer-key-exchange-on-the-rpam-connector
createdAt: 2026-11-20T10:53:57.138Z
---

The RPAM Connector was installed before the RPAM Portal; therefore, its WireGuard configuration (/etc/wireguard/wg-client.conf) still contains a placeholder instead of the public key of the RPAM Portal. After the RPAM Portal installation is completed, go back to the RPAM Connector and set the key:

1.    Open the RPAM MTC Installer of the RPAM Connector (**http\://\{RPAM Connector IP}:8443**). The "This host is already configured" page is shown.

2.    Press **Update peer key**. On the **Update Peer Public Key** page, the **This host's role** field is selected automatically.

3.    Leave the **Primary peer public key** field empty, enter the real/management IP address of the RPAM Portal (e.g., 10.20.40.116), and press **Update**. The key is fetched from the installer of the RPAM Portal and wg-quick\@wg-client.service is restarted automatically. Alternatively, paste the public key shown at the end of the RPAM Portal installation into the **Primary peer public key** field.

4.    Wait until the **"Done."** message is shown.

In the **failover** scenario, repeat these steps on the backup RPAM Connector as well.

**Check:** Run the following commands on both the RPAM Connector and the RPAM Portal. The **latest handshake** field should be filled in, and the **transfer** line should show both received and sent data:

| **Linux CLI** | **\[root\@connector\~]#** wg show<br />**\[root\@connector\~]#** ping \{RPAM Portal's WireGuard IP}<br />**\[root\@portal\~]#** wg show<br />**\[root\@portal\~]#** ping \{RPAM Connector's WireGuard IP} |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Example**   | **\[root\@connector\~]#** ping 10.0.0.1<br />**\[root\@portal\~]#** ping 10.0.0.2                                                                                                                         |

:::hint{type="info"}
If the RPAM Portal is installed first instead, the same applies in the opposite direction: the public key of the RPAM Connector must be set on the /peer-key page of the RPAM Portal after the RPAM Connector installation (see [Setting the Peer Public Key After Installation](https://docs.krontech.com/kron-pam-installation-guides-v3/setting-the-peer-public-key-after-installation)).
:::

