Advertisement
Guest User

vpnsecure-libreelecIssue.txt

a guest
Nov 13th, 2020
784
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. Following .ovpn file works:
  2. ---------------
  3. client
  4. proto udp
  5. dev tun
  6. dh dh2048.pem
  7. ca ca.crt
  8. cert wgking99.crt
  9. key wgking99.key
  10. remote ca3.vpnsecure.me 1191
  11. askpass auth.txt
  12. cipher DES-CBC
  13. verb 2
  14. mute 20
  15. keepalive 10 120
  16. comp-lzo
  17. persist-key
  18. persist-tun
  19. float
  20. resolv-retry infinite
  21. nobind
  22. auth-nocache
  23. -----------------------
  24.  
  25. If I remove the "askpass auth.txt" I get promoted for the "private Key". If I do not enter it, connection fails:
  26. -----
  27. Fri Nov 13 15:19:50 2020 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jan 9 2019
  28. Fri Nov 13 15:19:50 2020 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08
  29. Fri Nov 13 15:19:50 2020 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
  30. Enter Private Key Password:
  31. Fri Nov 13 15:20:00 2020 Error: private key password verification failed
  32. Fri Nov 13 15:20:00 2020 Exiting due to fatal error
  33. -----------
  34.  
  35. When setting up openvpn manager, I do enter the userid and password that works with the cli connection. It looks like that password is not being presented to vpnsecure based on the log:
  36. ---------
  37. 2020-11-09 18:33:31.417 T:2506023792 NOTICE: VPN Mgr : (vpnplatform.py) VPN log file start >>>
  38. 2020-11-09 18:33:31.417 T:2506023792 NOTICE: Mon Nov 9 18:32:11 2020 WARNING: file '/storage/.kodi/userdata
  39. /addon_data/service.vpn.manager/VPNSecure/user.key' is group or others accessible
  40. 2020-11-09 18:33:31.417 T:2506023792 NOTICE: Mon Nov 9 18:32:11 2020 OpenVPN 2.4.7 armv8a-libreelec-linux-g
  41. nueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [AEAD] built on Aug 18 2020
  42. 2020-11-09 18:33:31.417 T:2506023792 NOTICE: Mon Nov 9 18:32:11 2020 library versions: OpenSSL 1.1.1d 10 S
  43. ep 2019, LZO 2.10
  44. 2020-11-09 18:33:31.418 T:2506023792 NOTICE: Mon Nov 9 18:32:11 2020 WARNING: No server certificate verific
  45. ation method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
  46. 2020-11-09 18:33:31.418 T:2506023792 NOTICE: Mon Nov 9 18:32:11 2020 neither stdin nor stderr are a tty dev
  47. ice and you have neither a controlling tty nor systemd - can't ask for 'Enter Private Key Password:'. If you
  48. used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-
  49. nocache.
  50. 2020-11-09 18:33:31.418 T:2506023792 NOTICE: Mon Nov 9 18:32:11 2020 Exiting due to fatal error
  51. 2020-11-09 18:33:31.418 T:2506023792 NOTICE: VPN Mgr : (vpnplatform.py) <<< VPN log file end
  52. 2020-11-09 18:33:31.957 T:2506023792 ERROR: VPN Mgr : (common.py) Error connecting to VPN, something unexpe
  53. cted happened. Check log for more information.
  54. -----------------
  55.  
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement