[2.2.0.29][VPN] OpenVPN Client *.key Password
asked 2018-03-20 14:44:50 +0200
![this post is marked as community wiki](/m/default/media/images/wiki.png?v=4)
This post is a wiki. Anyone with karma >75 is welcome to improve it.
Hello, I have a problem that I can not solve. My OpenVPN client has a password which I also have to enter (without username). However, there is no possibility to enter it in the GUI.
You can indeed select an OpenVPN password file that I do not have. For fun, I test this with a txt file which includes my password. Unfortunately that did not work.
To test if my OpenVPN server is working at all, i created a user without a password. That went without problems. But I do not want that.
Furthermore, I test the app "SecureFishNet". There you can enter a password and of course the connection works fine. But I want to use the SF internal VPN client.
Is there a way to add the password to the existing client account via the terminal?
maybe I get you wrong but isn't asked for a password to in the moment when you import / start the config? Iirc I had some problems with exported configs from my pfsense. The client exporter has somewhere an option to set the config under level 2.3. the ovpn client on sailfish is a little older.
carepack ( 2018-03-20 16:32:52 +0200 )editno, nothing is asked :(
cvp ( 2018-03-20 21:34:13 +0200 )editYour VPN configuration uses a passphrase protection for the key. You could extract the key, remove the passphrase with OpenSSL and put the result back into the configuration. BT,DT.
Maus ( 2018-03-20 21:48:19 +0200 )editthanks, but there makes such a password "security" no more sense.
cvp ( 2018-03-21 11:13:06 +0200 )edit@cvp Absolutely! While my comment is a viable solution, I'd not recommend it under any circumstances. Personally, I protect all my keys with passphrases. Therefore, the Sailfish GUI is dysfunctional for me, too.
Maus ( 2018-03-21 11:24:24 +0200 )edit