I believe this should say "client's private key". Reported by: crdotson https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/assembly_setting-up-a-wireguard-vpn_configuring-and-managing-networking#annotations:6c77ed08-1af7-4292-8d44-48bc8f668b14
Thanks for reporting this issue. The step sets the client's private key, not the server's. I fixed the description of step 6: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/assembly_setting-up-a-wireguard-vpn_configuring-and-managing-networking#proc_configuring-a-wireguard-client-by-using-nmcli_assembly_setting-up-a-wireguard-vpn