public key must be specified
-
I'm trying to create a peer (I have several working from long time ago), but I wonder if I do something wrong this time.
I leave the public_key field empty, because I assume it would be derived from the private key or at least auto-filled in. But I just get "public key must be specified" when I leave it empty. I auto-generate the private one, but it doesn't fill in anything else.
Am I supposed to get the clients (wireguard GUI) public key and fill it out here? It will not auto-fill it so I can distribute a complete config file without asking the client? That's fine, just wonder how it supposed to work.
Chat GPT suggested it would be auto-generated, but maybe wrong info. pfSense Manual wasn't saying any useful help on it either.
To generate the public key:
Generate the Private Key:Click the Generate button next to the Private Key field. This will automatically generate the private key.
Public Key is Auto-Generated:After the private key is generated, the Public Key field will be automatically populated with the corresponding public key based on the private key. You can now copy this public key from the field.
Save the Configuration:After copying the public key, you can save the peer configuration.