Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Following .ovpn file works:
- ---------------
- client
- proto udp
- dev tun
- dh dh2048.pem
- ca ca.crt
- cert wgking99.crt
- key wgking99.key
- remote ca3.vpnsecure.me 1191
- askpass auth.txt
- cipher DES-CBC
- verb 2
- mute 20
- keepalive 10 120
- comp-lzo
- persist-key
- persist-tun
- float
- resolv-retry infinite
- nobind
- auth-nocache
- -----------------------
- If I remove the "askpass auth.txt" I get promoted for the "private Key". If I do not enter it, connection fails:
- -----
- 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
- Fri Nov 13 15:19:50 2020 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08
- 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.
- Enter Private Key Password:
- Fri Nov 13 15:20:00 2020 Error: private key password verification failed
- Fri Nov 13 15:20:00 2020 Exiting due to fatal error
- -----------
- 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:
- ---------
- 2020-11-09 18:33:31.417 T:2506023792 NOTICE: VPN Mgr : (vpnplatform.py) VPN log file start >>>
- 2020-11-09 18:33:31.417 T:2506023792 NOTICE: Mon Nov 9 18:32:11 2020 WARNING: file '/storage/.kodi/userdata
- /addon_data/service.vpn.manager/VPNSecure/user.key' is group or others accessible
- 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
- nueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [AEAD] built on Aug 18 2020
- 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
- ep 2019, LZO 2.10
- 2020-11-09 18:33:31.418 T:2506023792 NOTICE: Mon Nov 9 18:32:11 2020 WARNING: No server certificate verific
- ation method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
- 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
- ice and you have neither a controlling tty nor systemd - can't ask for 'Enter Private Key Password:'. If you
- used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-
- nocache.
- 2020-11-09 18:33:31.418 T:2506023792 NOTICE: Mon Nov 9 18:32:11 2020 Exiting due to fatal error
- 2020-11-09 18:33:31.418 T:2506023792 NOTICE: VPN Mgr : (vpnplatform.py) <<< VPN log file end
- 2020-11-09 18:33:31.957 T:2506023792 ERROR: VPN Mgr : (common.py) Error connecting to VPN, something unexpe
- cted happened. Check log for more information.
- -----------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement