Cannot load inline certificate file (Empty certificate tag) - VPN

Hi to all, this is not my first time in HTB, when i try to connect with the VPN i have the following problem:

Sun Sep 16 09:46:10 2018 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 30 2018
Sun Sep 16 09:46:10 2018 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.08
Sun Sep 16 09:46:10 2018 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line
Sun Sep 16 09:46:10 2018 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
Sun Sep 16 09:46:10 2018 Cannot load inline certificate file
Sun Sep 16 09:46:10 2018 Exiting due to fatal error

I tried:
- Connecting to VPN from two differents machines (before this
problem i could connect to the vpn without problems in the two
machines)
- Delete my account and create one with the same name and email.
- Creating another account with differente email and nickname
- Uninstalling OpenVPN from one computer and reinstalling
- In addition, the certificate tag is empty in .OVPN file

Can you help me in order to fix this error?

Thank you in advance.
Kind regards.

Comments

  • It was as issue on our side. Re-generate now and you should be ok!

    Ch4p

  • @ch4p said:
    It was as issue on our side. Re-generate now and you should be ok!

    It works, thank you ch4p! :), have a nice day.

  • edited September 2018

    Hi all, this fix appears to have regressed, I'm also getting an empty cert directive in my .ovpn files.

  • I'm getting this too.

  • I just got my invite code the other day, but I'm having this issue. I haven't been able to successfully access the labs via VPN. I'm getting the same error the first poster had.

  • Disregard; on the access panel, I regenerate my connection pack and now it works.

  • I am having this same exact problem now. I have regenerated key 5 times and tried all the above. No success:

    [email protected]:~# cd Downloads/
    [email protected]:~/Downloads# openvpn fragout.ovpn
    Sat Oct 27 18:48:19 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 18:48:19 2018 library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10
    Sat Oct 27 18:48:19 2018 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line
    Sat Oct 27 18:48:19 2018 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
    Sat Oct 27 18:48:19 2018 Cannot load inline certificate file
    Sat Oct 27 18:48:19 2018 Exiting due to fatal error
    [email protected]:~/Downloads#

    Please help!!

  • Retry now, it should be ok.

    Ch4p

  • I just regenerated & redownloaded my VPN credentials and am experiencing the same problem:

    Thu Nov  1 23:00:05 2018 OpenVPN 2.4.6 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 26 2018
    Thu Nov  1 23:00:05 2018 library versions: OpenSSL 1.1.0i-fips  14 Aug 2018, LZO 2.08
    Thu Nov  1 23:00:05 2018 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line
    Thu Nov  1 23:00:05 2018 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
    Thu Nov  1 23:00:05 2018 Cannot load inline certificate file
    Thu Nov  1 23:00:05 2018 Exiting due to fatal error
    
  • I'm getting the same error and I regenerated my VPN 10 times and still same error
    Fri Nov 2 14:13:27 2018 OpenVPN 2.4.6 i686-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 30 2018 Fri Nov 2 14:13:27 2018 library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10 Fri Nov 2 14:13:27 2018 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line Fri Nov 2 14:13:27 2018 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib Fri Nov 2 14:13:27 2018 Cannot load inline certificate file Fri Nov 2 14:13:27 2018 Exiting due to fatal error

  • edited November 2018

    Hi, I regenerated my VPN a couple of times also but I still get this error when trying to connect:
    Tue Nov 6 07:57:04 2018 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 30 2018
    Tue Nov 6 07:57:04 2018 library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10
    Tue Nov 6 07:57:04 2018 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line
    Tue Nov 6 07:57:04 2018 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
    Tue Nov 6 07:57:04 2018 Cannot load inline certificate file
    Tue Nov 6 07:57:04 2018 Exiting due to fatal error

    Please help?

  • Cert section is empty again.

    Tried switching and regenerating.

  • I am getting the same error the cert section is empty... Kindly help

  • Same I'm getting the error, joined today and regenerated once already.

  • The regenerate function is allowing functional openvpn config files to be downloaded again.

    Thank you!

Sign In to comment.