SparkLabs Forum.

Community Help.


viscosity fails to connect

The VPN user had a successful vpn connection with viscosity on Mac OS .
but now with the vpn connection with the same files on a Windows 10 machine, after entering password (which is the right one), it failed to connect
please see the logs:

Feb 13 9:48:57 AM: State changed to Creating...
Feb 13 9:48:59 AM: State changed to Disconnected
Feb 13 9:49:02 AM: State changed to Connecting
Feb 13 9:49:02 AM: Viscosity Windows 1.7.14 (1595)
Feb 13 9:49:02 AM: Running on Microsoft Windows 10 Pro
Feb 13 9:49:02 AM: Running on .NET Framework Version 4.7.03190.461814
Feb 13 9:49:02 AM: Bringing up interface...
Feb 13 9:49:03 AM: OpenVPN 2.3.18 Windows-MSVC [SSL (OpenSSL)] [LZO] [IPv6] built on Jan 21 2019
Feb 13 9:49:03 AM: library versions: OpenSSL 1.0.2q 20 Nov 2018, LZO 2.09
Feb 13 9:49:04 AM: Checking remote host IP is reachable...
Feb 13 9:49:04 AM: Server reachable. Connecting to IP.
Feb 13 9:49:16 AM: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Feb 13 9:49:16 AM: OpenSSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
Feb 13 9:49:16 AM: Cannot load private key file C:\Users\X\AppData\Roaming\Viscosity\OpenVPN\2\username.key
Feb 13 9:49:16 AM: SIGUSR1[soft,private-key-password-failure] received, process restarting
Feb 13 9:49:16 AM: State changed to Connecting
Feb 13 9:52:20 AM: Checking remote host “IP” is reachable...
Feb 13 9:52:20 AM: Server reachable. Connecting to IP.
Feb 13 9:52:30 AM: State changed to Disconnecting
Feb 13 9:52:30 AM: ERROR: could not read Private Key username/password/ok/string from management interface
Feb 13 9:52:30 AM: State changed to Disconnected
Feb 13 10:03:11 AM: State changed to Creating...
Feb 13 10:03:14 AM: State changed to Disconnected
Hi myvisocisty33,

This error indicates that the cert and key do not match. You could have the wrong key or it could have become damaged when you downloaded it. Please try exporting the working connection from macOS (if this is for the same user) and importing it into Viscosity Windows.

Regards,
Eric
2 posts Page 1 of 1

Copyright © 2016 SparkLabs Pty Ltd. All Rights Reserved. Privacy Policy