VPN broken

VPN connection to hack the box has invalid keys:

  • tried using different pc
  • tried using different internet connection
  • tried in different OS'

Sun Dec 02 20:39:20 2018 OpenVPN 2.4.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018
Sun Dec 02 20:39:20 2018 Windows version 6.2 (Windows 8 or greater) 64bit
Sun Dec 02 20:39:20 2018 library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10
Sun Dec 02 20:39:20 2018 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Sun Dec 02 20:39:20 2018 Need hold release from management interface, waiting...
Sun Dec 02 20:39:20 2018 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Sun Dec 02 20:39:20 2018 MANAGEMENT: CMD 'state on'
Sun Dec 02 20:39:20 2018 MANAGEMENT: CMD 'log all on'
Sun Dec 02 20:39:20 2018 MANAGEMENT: CMD 'echo all on'
Sun Dec 02 20:39:20 2018 MANAGEMENT: CMD 'bytecount 5'
Sun Dec 02 20:39:20 2018 MANAGEMENT: CMD 'hold off'
Sun Dec 02 20:39:20 2018 MANAGEMENT: CMD 'hold release'
Sun Dec 02 20:39:20 2018 OpenSSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
Sun Dec 02 20:39:20 2018 Cannot load private key file [[INLINE]]
Sun Dec 02 20:39:20 2018 SIGUSR1[soft,private-key-password-failure] received, process restarting
Sun Dec 02 20:39:20 2018 MANAGEMENT: >STATE:1543783160,RECONNECTING,private-key-password-failure

Tagged:

Comments

  • same problem, on both arch linux and windows 10 with multiple openvpn versions

    Sun Dec 02 21:03:47 2018 OpenVPN 2.4.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018
    Sun Dec 02 21:03:47 2018 Windows version 6.2 (Windows 8 or greater) 64bit
    Sun Dec 02 21:03:47 2018 library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10
    Sun Dec 02 21:03:47 2018 OpenSSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
    Sun Dec 02 21:03:47 2018 Cannot load private key file [[INLINE]]
    Sun Dec 02 21:03:47 2018 Error: private key password verification failed
    Sun Dec 02 21:03:47 2018 Exiting due to fatal error

  • when using the old invalid certificate, it works perfectly fine. This cert should be invalid but it works fine??

  • edited December 2018

    I registered a new account and no matter whether I clicked "Switch" or tried to regenerate, my connection pack never had the <cert> field populated.

    noahcain

  • If it helps, the VPN crashes out every 5 minutes or so when used

  • edited December 2018

    Maybe just take backup of your pentesting distro and reinstall it ?? if it not worked.. or regenerating?


    Leaning From Cracking......

  • Happened to me awhile ago but I managed to solve this issue by regenerating my VPN key.

  • @CrKMinD it happens on ALL platforms, @ajdumanhug have already tried regenerating

  • regenerate is fixed; but no explanation as to why..

Sign In to comment.