Hi,
I need to set in a file the password for connection of openvpngui. I searched but I don't found many answers.
Sorry for my english
Thanks.
Password OpenvpnGUI
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: Password OpenvpnGUI
OpenVPN will only read passwords from a file if it has been built with the --enable-password-save configure option, or on Windows by defining ENABLE_PASSWORD_SAVE in config-win32.h
see --auth-user-pass in the manual for more info
see --auth-user-pass in the manual for more info
-
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Nov 29, 2010 1:41 pm
Re: Password OpenvpnGUI
Hi.
I am quite new to this and I tried reading the manual and FAQs. But I can't figure this one out.
I have to generate a file with my username and password with some app and then edit config to read this generated file, that's how I understand it. Still, I can't figure out how to do this.
Is there any guide or someone that would be kind enough to make a short guide about this? Would be greatly appreciated. I'm not that fond of having to type in username and password each time I login to OpenVPN.
Thanks!
I am quite new to this and I tried reading the manual and FAQs. But I can't figure this one out.
I have to generate a file with my username and password with some app and then edit config to read this generated file, that's how I understand it. Still, I can't figure out how to do this.
Is there any guide or someone that would be kind enough to make a short guide about this? Would be greatly appreciated. I'm not that fond of having to type in username and password each time I login to OpenVPN.
Thanks!
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: Password OpenvpnGUI
please clarify which we are talking about:
what i said above is for the first
for the second, you just remove the passphrase, since thats the same as saving it to a file
- Password that the server checks
Passphrase on your private key
what i said above is for the first
for the second, you just remove the passphrase, since thats the same as saving it to a file
-
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Nov 29, 2010 1:41 pm
Re: Password OpenvpnGUI
I'm not sure what private key is. So I suppose it's pass for the server. The one I use when login in with my username in OpenVPN when activating it.
I'm not new to putors so you probably don't need to go into child mode haha. But this thing is all new though.
I'm not new to putors so you probably don't need to go into child mode haha. But this thing is all new though.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Nov 29, 2010 8:27 am
Re: Password OpenvpnGUI
Thank you, this post was useful for me.krzee wrote:please clarify which we are talking about:which one?
- Password that the server checks
Passphrase on your private key
what i said above is for the first
for the second, you just remove the passphrase, since thats the same as saving it to a file
I needed the second one, and I solved in this mode:
Code: Select all
openssl pkcs12 -in protected.p12.orig -nodes -out temp.pem
openssl pkcs12 -export -in temp.pem -out unprotected.p12