Page 1 of 1

autologin using stored password

Posted: Wed Apr 26, 2017 4:45 am
by fernandor211
Hello I used to be able to use an external file to store my password and login but for some reason in the latest version its not working

client

dev tun

proto udp

remote us-siliconvalley.privateinternetaccess.com 1198

resolv-retry infinite

nobind

persist-key

persist-tun

cipher aes-128-cbc auth sha1 tls-client remote-cert-tls server

auth-user-pass password.txt

comp-lzoverb 1reneg-sec 0crl-verify crl.rsa.2048.pem

ca ca.rsa.2048.crtdisable-occ


Where password.txt stored that information..

Now when I try to do the same as what worked before its giving me a error that reads :

Options error: Unrecognized option or missing or extra parameter(s) in US Silicon Valley.ovpn:23: password.txt (2.4.1)

Any clue what changed and how can I get this back to working?

Re: autologin using stored password

Posted: Wed Apr 26, 2017 7:57 am
by TinCanTech
Are you using the new openvpn-GUI ?

Re: autologin using stored password

Posted: Wed Apr 26, 2017 11:35 am
by fernandor211
I believe so yes. The latest release. although I do plan on switching over to the windows service once I resolve this aspect.

Re: autologin using stored password

Posted: Wed Apr 26, 2017 11:59 pm
by TinCanTech
I fear this is somehow related:
https://community.openvpn.net/openvpn/ticket/866

Re: autologin using stored password

Posted: Thu Apr 27, 2017 12:03 am
by fernandor211
It may very well be the case. I installed an older version of OpenVPN ( 2.3.1) and it works again using the same config file certs and external password file. With that test I know its a version issue. Either the language changed and "auth-user-pass password.txt" is no longer a valid string or its a bug...Although the OCD in me wants the latest versions of software.. Grr!

Re: autologin using stored password

Posted: Thu Apr 27, 2017 12:15 am
by TinCanTech
fernandor211 wrote:I do plan on switching over to the windows service once I resolve this aspect
Give it a shot .. :mrgreen: