the file is not created in the current directory or the specified path
[email protected]:~$ pwd /home/vyos/ [email protected]:~$ generate pki wireguard key-pair file keys Private key: yBYwlvYSgO+6hV9jercjsASBsykIcnbtzz4EziWVSWM= Public key: rs4I7Zj6RI2P/7az5LdNqi6p707cXrCKzFAKNaPP6RE= [email protected]:~$ ls -ltr total 0 [email protected]:~$ generate pki wireguard key-pair file /home/vyos/keys1 Private key: uNFNkSeLZ5LkSUsN2ryHVuSvmwkxtymlk/vIvkX8/Uc= Public key: ojYjp61lTEvVwuRPsoXOK7f4K8+TLJpjzgO7mksjCT0= [email protected]:~$ ls -ltr /home/vyos total 0
Tested for openvpn and key-pair where the files are created in this path /config/auth
Do you want to encrypt the private key with a passphrase? [y/N] N File written to /config/auth/vyos1.pem File written to /config/auth/vyos1.key ------ [email protected]:~$ generate pki openvpn shared-secret file test File written to /config/auth/test.key