could not read private key username/password/ok/string from management

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
VincentVegas
OpenVpn Newbie
Posts: 1
Joined: Thu Aug 24, 2023 6:06 pm

could not read private key username/password/ok/string from management

Post by VincentVegas » Thu Aug 24, 2023 6:13 pm

Hi.

We have been utilizing OpenVPN for years to connect to our company network.

A colleague installed the latest version of the client, v2.6.6, on a new machine, copied the key file and tried to connect as always. After entering username and password, he gets:
ERROR: could not read Private Key username/password/ok/string from management

After downgrading to 2.5.4, there was no error message and he got connected.

What happened between the versions that causes the error?

Regards,
Thomas

BISI Sysadmin
OpenVpn Newbie
Posts: 2
Joined: Wed Sep 06, 2023 6:19 pm

Re: could not read private key username/password/ok/string from management

Post by BISI Sysadmin » Wed Sep 06, 2023 6:23 pm

Yes! Enquiring minds want to know, as well as wanting a way to stifle the requirement on the Windows client (using the OpenVPN GUI). It will be a major PITA to re-issue all the OVPN config and support files for all our users that upgrade past 2.5.9

BISI Sysadmin
OpenVpn Newbie
Posts: 2
Joined: Wed Sep 06, 2023 6:19 pm

Re: could not read private key username/password/ok/string from management

Post by BISI Sysadmin » Wed Sep 06, 2023 6:53 pm

OK - here's a fix to my particular situation, courtesy of OPNsense forums: Reply #13, fix #2
https://forum.opnsense.org/index.php?topic=32458.0

also available at the wayback machine

Post Reply