Hello
I am quite new to openwrt, so please excuse my ignorance.
Each 5 seconds I've got strange errors in syslog, this happened after performing upgrade with opkg (I think this is due to latest OpenSSL package upgrade):
Thu May 14 19:38:34 2020 daemon.warn openvpn(my_server)[3625]: disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
Thu May 14 19:38:34 2020 daemon.notice openvpn(my_server)[3625]: OpenVPN 2.4.7 mipsel-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Thu May 14 19:38:34 2020 daemon.notice openvpn(my_server)[3625]: library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10
Thu May 14 19:38:34 2020 daemon.err openvpn(my_server)[3625]: Insufficient key material or header text not found in file '/etc/easy-rsa/pki/private/server.key' (0/128/256 bytes found/min/max)
Thu May 14 19:38:34 2020 daemon.notice openvpn(my_server)[3625]: Exiting due to fatal error
Thu May 14 19:38:39 2020 daemon.warn openvpn(my_server)[3626]: disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
Thu May 14 19:38:39 2020 daemon.notice openvpn(my_server)[3626]: OpenVPN 2.4.7 mipsel-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Thu May 14 19:38:39 2020 daemon.notice openvpn(my_server)[3626]: library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10
Thu May 14 19:38:39 2020 daemon.err openvpn(my_server)[3626]: Insufficient key material or header text not found in file '/etc/easy-rsa/pki/private/server.key' (0/128/256 bytes found/min/max)
Thu May 14 19:38:39 2020 daemon.notice openvpn(my_server)[3626]: Exiting due to fatal error
Thu May 14 19:38:44 2020 daemon.warn openvpn(my_server)[3627]: disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
Thu May 14 19:38:44 2020 daemon.notice openvpn(my_server)[3627]: OpenVPN 2.4.7 mipsel-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Thu May 14 19:38:44 2020 daemon.notice openvpn(my_server)[3627]: library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10
Thu May 14 19:38:44 2020 daemon.err openvpn(my_server)[3627]: Insufficient key material or header text not found in file '/etc/easy-rsa/pki/private/server.key' (0/128/256 bytes found/min/max)
Thu May 14 19:38:44 2020 daemon.notice openvpn(my_server)[3627]: Exiting due to fatal error
actually /etc/easy-rsa/pki/private/server.key is 1708 bytes long
And it looks like:
-----BEGIN PRIVATE KEY-----
<SOME RANDOM BYTES>
-----END PRIVATE KEY-----
Although OpenVpn client connects and is working properly, luci (at VPN->OpenVPN) says that my OpenVPN instance (my_server) is enabled but not started...
Should I do something about it ? How can I handle that ?
Thanks!