Page 1 of 1

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

Posted: Thu Aug 24, 2023 6:13 pm
by VincentVegas
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

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

Posted: Wed Sep 06, 2023 6:23 pm
by BISI Sysadmin
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

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

Posted: Wed Sep 06, 2023 6:53 pm
by BISI Sysadmin
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