Password OpenvpnGUI

How to customize and extend your OpenVPN installation.
Post Reply
darco
OpenVpn Newbie
Posts: 2
Joined: Mon Nov 29, 2010 8:27 am

Password OpenvpnGUI

Post by darco » Mon Nov 29, 2010 8:52 am

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.

User avatar
krzee
Forum Team
Posts: 729
Joined: Fri Aug 29, 2008 5:42 pm

Re: Password OpenvpnGUI

Post by krzee » Mon Nov 29, 2010 9:16 am

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

Damien74
OpenVpn Newbie
Posts: 2
Joined: Mon Nov 29, 2010 1:41 pm

Re: Password OpenvpnGUI

Post by Damien74 » Mon Nov 29, 2010 1:44 pm

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!

User avatar
krzee
Forum Team
Posts: 729
Joined: Fri Aug 29, 2008 5:42 pm

Re: Password OpenvpnGUI

Post by krzee » Tue Nov 30, 2010 4:03 am

please clarify which we are talking about:
  • Password that the server checks
    Passphrase on your private key
which one?

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

Damien74
OpenVpn Newbie
Posts: 2
Joined: Mon Nov 29, 2010 1:41 pm

Re: Password OpenvpnGUI

Post by Damien74 » Tue Dec 07, 2010 3:06 pm

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.

darco
OpenVpn Newbie
Posts: 2
Joined: Mon Nov 29, 2010 8:27 am

Re: Password OpenvpnGUI

Post by darco » Tue Dec 07, 2010 3:31 pm

krzee wrote:please clarify which we are talking about:
  • Password that the server checks
    Passphrase on your private key
which one?

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
Thank you, this post was useful for me.
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
Unfortunately I lost the link of the site where I read it.

Post Reply