The TLS connection was non-properly terminated.
Hi
Yesterday i update my centos 7 vm and also ocserv from ocserv-0.11.10-2.el7.x86_64 to 0.12.0-1.el7.x86_64 After update i can not connect to vpn anymore
In client log i see:
SSL negotiation with domain.xyz SSL connection failure: The TLS connection was non-properly terminated.
In server log:
May 10 10:26:08 domain.xyz systemd[1]: Starting OpenConnect SSL VPN server... May 10 10:26:08 domain.xyz ocserv[12414]: note: skipping 'pid-file' config option May 10 10:26:08 domain.xyz ocserv[12414]: note: setting 'pam' as primary authentication method May 10 10:26:08 domain.xyz ocserv[12414]: note: setting 'file' as supplemental config option May 10 10:26:08 domain.xyz systemd[1]: PID file /var/run/ocserv.pid not readable (yet?) after start. May 10 10:26:08 domain.xyz ocserv[12416]: main: initialized ocserv 0.12.0 May 10 10:26:08 domain.xyz systemd[1]: Started OpenConnect SSL VPN server. May 10 10:26:08 domain.xyz ocserv[12417]: sec-mod: reading supplemental config from files May 10 10:26:08 domain.xyz ocserv[12417]: sec-mod: sec-mod initialized (socket: /var/lib/ocserv/ocserv.sock.12416) May 10 10:39:53 domain.xyz ocserv[12416]: main:xxx.xxx.xxx.xxx:25476 user disconnected (reason: unspecified, rx: 0, tx: 0) May 10 10:41:41 domain.xyz ocserv[12416]: main:xxx.xxx.xxx.xxx:57404 user disconnected (reason: unspecified, rx: 0, tx: 0) May 10 10:41:44 domain.xyz ocserv[12416]: main:xxx.xxx.xxx.xxx:48339 user disconnected (reason: unspecified, rx: 0, tx: 0) May 10 10:41:45 domain.xyz ocserv[12416]: main:xxx.xxx.xxx.xxx:57130 user disconnected (reason: unspecified, rx: 0, tx: 0)
I dont know if its bug in ocserv,gnutls or just configuration problem.
Thanks for help