Skip to content

Instantly share code, notes, and snippets.

@rudSarkar
Created August 17, 2019 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rudSarkar/06340ec9110108dd1c7789827ef3201e to your computer and use it in GitHub Desktop.
Save rudSarkar/06340ec9110108dd1c7789827ef3201e to your computer and use it in GitHub Desktop.
CTF365 OpenVPN Connect problem fix.

Error

Sat Aug 17 17:06:12 2019 WARNING: file 'user-pass.txt' is group or others accessible
Sat Aug 17 17:06:12 2019 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 30 2018
Sat Aug 17 17:06:12 2019 library versions: OpenSSL 1.1.1c  28 May 2019, LZO 2.10
Sat Aug 17 17:06:12 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

Edit openssl.cnf to change the TLS version

$ vim /etc/ssl/openssl.cnf

[system_default_sect]
#MinProtocol = TLSv1.2
MinProtocol = TLSv1
CipherString = DEFAULT@SECLEVEL=2

Replace MinProtocol = TLSv1.2 to MinProtocol = TLSv1

And then connect the ovpn file with your openvpn

$ openvpn --config ctf365.ovpn

Hope it will work. 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment