Closed csolisr closed 5 months ago
Just found out that the file /etc/openvpn/keys/credentials
was somehow not created by the installation tool, nor listed on the /etc/openvpn/client.conf
file either.
I'm having the same problem, so VPN Client isn't working because credentials aren't being saved. I tried manually creating the credentials and login file, but it still does not work.
I'm closing, but feel free to open the issue again if the problem is still there.
Describe the bug
When using the application to configure the server to connect to an OpenVPN server automatically, the credentials are ignored, instead requesting the user to type them manually through the terminal. This defeats the point of storing the credentials, as it requires manual intervention every time the VPN goes down.
Context
Steps to reproduce
Expected behavior
The system should take the credentials and store them for future usage.
Actual behavior
The system ignores the stored credentials and immediately requests the user and password through the terminal:
So I need to run
sudo systemd-tty-ask-password-agent
twice, once to enter the user name and again to enter the password.Logs
Relevant lines from
journalctl -u openvpn@client.service
: