I'm trying to save the username, and password of my openvpn
client in '.secret.txt
', and I'm receiving errors when attempting to connect, or the password is requested, instead of being read from '.secret.txt
'
Here is my config file:
resolv-retry infinite
nobind
persist-key
persist-tun
key-direction 1
remote-cert-tls server
tls-version-min 1.2
verify-x509-name server_4EBX2EpXPZasiTv1 name
cipher AES-256-CBC
auth SHA256
comp-lzo
verb 3
<ca>
auth-user-pass //root/.secret.txt
When connecting, i'm receiving errors:
WARNING: file '//root//secret.txt' is group or others accessible