autologin using stored password

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
fernandor211
OpenVpn Newbie
Posts: 3
Joined: Wed Apr 26, 2017 4:35 am

autologin using stored password

Post by fernandor211 » Wed Apr 26, 2017 4:45 am

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?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: autologin using stored password

Post by TinCanTech » Wed Apr 26, 2017 7:57 am

Are you using the new openvpn-GUI ?

fernandor211
OpenVpn Newbie
Posts: 3
Joined: Wed Apr 26, 2017 4:35 am

Re: autologin using stored password

Post by fernandor211 » Wed Apr 26, 2017 11:35 am

I believe so yes. The latest release. although I do plan on switching over to the windows service once I resolve this aspect.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: autologin using stored password

Post by TinCanTech » Wed Apr 26, 2017 11:59 pm

I fear this is somehow related:
https://community.openvpn.net/openvpn/ticket/866

fernandor211
OpenVpn Newbie
Posts: 3
Joined: Wed Apr 26, 2017 4:35 am

Re: autologin using stored password

Post by fernandor211 » Thu Apr 27, 2017 12:03 am

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!

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: autologin using stored password

Post by TinCanTech » Thu Apr 27, 2017 12:15 am

fernandor211 wrote:I do plan on switching over to the windows service once I resolve this aspect
Give it a shot .. :mrgreen:

Post Reply