-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passworded key files #2
Comments
Hi, can you provide the sample openvpn config file? (with private key masked) |
It would be the same as any .ovpn file without the auth-user-pass It would be hard to provide any decent information without an actual working key file with a password. You could generate your own passworded key files by using "./build-key-pass client1" from the easy-rsa scripts - it will work alongside of auth-user-pass also If your using the OpenVPN management port you would simply send something like this.. password 'Private Key' ' + pass +'\r\n' https://openvpn.net/index.php/open-source/documentation/howto.html ai:~ # telnet localhost 1337 This is obviously relevant if your using raw socket to management port already. Storing plain text username/passwords into a auth-user-pass file is very insecure --- which is why i'm asking for the Password protected key file functionality to be added.. *(Although I haven't looked at the source code to validate this is the way it's done) "management 127.0.0.1 1337 i.e if you were using tunnelblick or openvpn-gui it would popup and ask for the key password. example (*Can also use embedded etc ) client |
Please add support for password protected key files. Not all VPNs use username/password auth and use key files per user only.
The text was updated successfully, but these errors were encountered: