OpenVpn connection exiting due to fatal error

edited October 2018 in VPN Connection

I re-generated keys today and it all went to hell, please see output below

[email protected]:~/Downloads# openvpn fragout.ovpn
Sat Oct 27 19:02:07 2018 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 30 2018
Sat Oct 27 19:02:07 2018 library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10
Sat Oct 27 19:02:07 2018 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line
Sat Oct 27 19:02:07 2018 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
Sat Oct 27 19:02:07 2018 Cannot load inline certificate file
Sat Oct 27 19:02:07 2018 Exiting due to fatal error

Help is appreciated! Thanks!

Comments

  • I have the same issue. Tried all things I could find in forums, nothing works

  • Same thing just happened to me.

  • Same here, the cert is blank in the generated ovpn files

  • Can we get an Admin to chime in @ch4p

  • Same thing happened to me as well.

  • All good now guys, go ahead and re-generate!

    Ch4p

  • Hello All,
    I have re-generated my keys but still i am receiving the error. Please help

    openvpn ./devilswolf.ovpn
    Wed Dec 19 11:00:03 2018 OpenVPN 2.4.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 4 2018
    Wed Dec 19 11:00:03 2018 library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10
    Wed Dec 19 11:00:03 2018 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line
    Wed Dec 19 11:00:03 2018 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
    Wed Dec 19 11:00:03 2018 Cannot load inline certificate file
    Wed Dec 19 11:00:03 2018 Exiting due to fatal error

  • Same issue here :/

  • Should be ok now, try to re-generate.

    Ch4p

  • Hi, I have re-generated my keys but I'm receiving this error:

    Wed Dec 19 10:54:20 2018 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 30 2018
    Wed Dec 19 10:54:20 2018 library versions: OpenSSL 1.1.1a 20 Nov 2018, LZO 2.10
    Wed Dec 19 10:54:20 2018 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
    Wed Dec 19 10:54:20 2018 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
    Wed Dec 19 10:54:20 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]88.198.233.171:1337
    Wed Dec 19 10:54:20 2018 Socket Buffers: R=[212992->212992] S=[212992->212992]
    Wed Dec 19 10:54:20 2018 UDP link local: (not bound)
    Wed Dec 19 10:54:20 2018 UDP link remote: [AF_INET]88.198.233.171:1337
    Wed Dec 19 10:55:20 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    Wed Dec 19 10:55:20 2018 TLS Error: TLS handshake failed
    Wed Dec 19 10:55:20 2018 SIGUSR1[soft,tls-error] received, process restarting
    Wed Dec 19 10:55:20 2018 Restart pause, 5 second(s)

  • Same Issue here ch4p, can you please help me?

  • i have same Issue

  • @ippsec

    sudo openvpn sh4d4b.ovpn
    Sun Dec 30 20:01:09 2018 OpenVPN 2.4.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 4 2018
    Sun Dec 30 20:01:09 2018 library versions: OpenSSL 1.1.1a 20 Nov 2018, LZO 2.10
    Sun Dec 30 20:01:09 2018 OpenSSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
    Sun Dec 30 20:01:09 2018 Cannot load private key file [[INLINE]]
    Sun Dec 30 20:01:09 2018 Error: private key password verification failed
    Sun Dec 30 20:01:09 2018 Exiting due to fatal error

    Getting this error. Please help.

  • same issue here

    PotatoDrug

  • Hey people, I just clicked on the switch button that says "EU Lab Free Access" on the Access page.. then downloaded the connection pack again.. Ran it and it works. I am connected to htb network.

  • got the same issue

  • Regenerating fixed it for me, thanks.

  • i regenerated keys, still cannot connect

    Sat Jan 5 04:56:39 2019 OPTIONS IMPORT: timers and/or timeouts modified
    Sat Jan 5 04:56:39 2019 OPTIONS IMPORT: --ifconfig/up options modified
    Sat Jan 5 04:56:39 2019 OPTIONS IMPORT: route options modified
    Sat Jan 5 04:56:39 2019 OPTIONS IMPORT: route-related options modified
    Sat Jan 5 04:56:39 2019 OPTIONS IMPORT: peer-id set
    Sat Jan 5 04:56:39 2019 OPTIONS IMPORT: adjusting link_mtu to 1625
    Sat Jan 5 04:56:39 2019 OPTIONS IMPORT: data channel crypto options modified
    Sat Jan 5 04:56:39 2019 Data Channel: using negotiated cipher 'AES-256-GCM'
    Sat Jan 5 04:56:39 2019 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
    Sat Jan 5 04:56:39 2019 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
    Sat Jan 5 04:56:39 2019 ROUTE_GATEWAY 10.3.0.1/255.255.0.0 IFACE=wlan0 HWADDR=68:a8:6d:29:f7:96
    Sat Jan 5 04:56:39 2019 GDG6: remote_host_ipv6=n/a
    Sat Jan 5 04:56:39 2019 ROUTE6: default_gateway=UNDEF
    Sat Jan 5 04:56:39 2019 ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
    Sat Jan 5 04:56:39 2019 Exiting due to fatal error

  • edited January 23

    Hi I'm having the same problem,
    I tried to regenerated , Swiitch de EU Lab but didn't work

    Wed Jan 23 00:01:55 2019 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 30 2018
    Wed Jan 23 00:01:55 2019 library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10
    Wed Jan 23 00:01:55 2019 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line
    Wed Jan 23 00:01:55 2019 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
    Wed Jan 23 00:01:55 2019 Cannot load inline certificate file
    Wed Jan 23 00:01:55 2019 Exiting due to fatal error

    anyone help?@ch4p

  • Same issue here. Regenerated/Switched etc.

    Tue Jan 22 22:44:46 2019 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 30 2018
    Tue Jan 22 22:44:46 2019 library versions: OpenSSL 1.1.1a 20 Nov 2018, LZO 2.10
    Tue Jan 22 22:44:46 2019 OpenSSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
    Tue Jan 22 22:44:46 2019 Cannot load private key file [[INLINE]]
    Tue Jan 22 22:44:46 2019 Error: private key password verification failed
    Tue Jan 22 22:44:46 2019 Exiting due to fatal error

  • Same thing here. I tried regenerating and clicking switch server.

    Tue Jan 22 22:48:14 2019 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 5 2018
    Tue Jan 22 22:48:14 2019 library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.08
    Tue Jan 22 22:48:14 2019 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line
    Tue Jan 22 22:48:14 2019 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
    Tue Jan 22 22:48:14 2019 Cannot load inline certificate file
    Tue Jan 22 22:48:14 2019 Exiting due to fatal error

  • same problem happened me. please help smeone

  • Switch to US servers. It worked for me

  • hello guys
    to solve this problem open the terminal in the desktop nd enter : sudo apt-get install openvpn
    then enter sudo apt-get install nmap
    then delete the old connection pack in the download and go to access regenerate and download a new connection pack open the terminal in the download folder nd enter : openvpn (the connection pack name).ovpn nd ure good to go .. hope it work with u x))

  • Type your comment> @molly99 said:

    hello guys
    to solve this problem open the terminal in the desktop nd enter : sudo apt-get install openvpn
    then enter sudo apt-get install nmap
    then delete the old connection pack in the download and go to access regenerate and download a new connection pack open the terminal in the download folder nd enter : openvpn (the connection pack name).ovpn nd ure good to go .. hope it work with u x))

    I'm having same problem and it didnt work

  • Try adding sudo to your command
    sudo openvpn file.ovpn
Sign In to comment.