I am trying to configure a Wireguard interface as a “client” to a server that has provided a pre generated keypair.
I have set the private-key setting on the interface with the encoded key provided from the server.
set interfaces wireguard wg0 private-key gybbeligoggybeligog=
But when i commit the config i get the error:
Wireguard private-key not found! Execute: “run generate wireguard [default-keypair|named-keypairs]”
Is it really not possible to configure wireguard with keys that are not generated by the generate wireguard named-keypairs command ?