Place1/wg-access-server

how to set the public key?

diazzaid opened this issue · 2 comments

I need it for server backup purposes, so that from the user side there is no need to change the public key again key (duplicate server)

The public key is always generated from the private key. It can not be specified separately.
To keep a static private key and thus a static public key, you need to set the private key in the config, pass it as argument or set the corresponding environment variable.

The public key is always generated from the private key. It can not be specified separately.
To keep a static private key and thus a static public key, you need to set the private key in the config, pass it as argument or set the corresponding environment variable.

ok thanks