autologin using stored password

Scripts to manage certificates or generate config files
fernandor211
OpenVpn Newbie
Posts: 3
Joined: Wed Apr 26, 2017 4:35 am

autologin using stored password

Postby 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?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 2417
Joined: Fri Jun 03, 2016 1:17 pm

Re: autologin using stored password

Postby 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

Postby 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.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 2417
Joined: Fri Jun 03, 2016 1:17 pm

Re: autologin using stored password

Postby TinCanTech » Wed Apr 26, 2017 11:59 pm


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

Re: autologin using stored password

Postby 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!

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 2417
Joined: Fri Jun 03, 2016 1:17 pm

Re: autologin using stored password

Postby 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:


Return to “Cert / Config management”

Who is online

Users browsing this forum: No registered users and 3 guests