Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian 10 can't restart Openvpn server

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
procyon108
Posts: 9
Joined: 2016-01-31 08:28

Debian 10 can't restart Openvpn server

#1 Post by procyon108 »

I am a noob.

I installed openvpn server on Debian 10, but whenever I use systemctl to restart the service, I get:

Code: Select all

Password entry required for 'Enter Private Key Password:' (PID 11305).
Please enter password with the systemd-tty-ask-password-agent tool:
I have passwordless ssh access to the server.

reinob
Posts: 1196
Joined: 2014-06-30 11:42
Has thanked: 99 times
Been thanked: 47 times

Re: Debian 10 can't restart Openvpn server

#2 Post by reinob »

You're using a password-protected key/certificate.

You could check the openvpn manual and check if you can use the "askpass" option, which requires you to place the password in some text file accessible to openvpn.

Alternatively, you could remove the password from the key, using openssl.

But probably there's a reason why your key is password protected, so check if you can (are allowed to, e.g. employer) remove the password or store it in a text file.

Post Reply