Openconnect VPN 抛出“无法从 SSL 套接字读取:TLS 连接未正确终止”+更多

Openconnect VPN 抛出“无法从 SSL 套接字读取:TLS 连接未正确终止”+更多

这些是我的规格:

  • 平台:Raspberry Pi 4
  • 树莓派版本:2021-05-07
  • Anyconnect 版本:v8.02-1+deb10u1
  • CLI 启动命令:openconnect -v ***.***.172.2:4443

错误输出:

*****BEGIN ERROR OUTPUT    
POST https://***.***.172.2:4443/
Attempting to connect to server ***.***.172.2:4443
Connected to ***.***.172.2:4443
SSL negotiation with ***.***.172.2
Server certificate verify failed: certificate does not match hostname
Certificate from VPN server "***.***.172.2" failed verification.
Reason: certificate does not match hostname
To trust this server in future, perhaps add this to your command line:
    --servercert pin-sha256:*******************************************
Enter 'yes' to accept, 'no' to abort; anything else to view: yes
Connected to HTTPS on ***.***.172.2
Failed to read from SSL socket: The TLS connection was non-properly terminated.
Error fetching HTTPS response
GET https://***.***.172.2:4443/
Attempting to connect to server ***.***.172.2:4443
Connected to ***.***.172.2:4443
SSL negotiation with ***.***.172.2
Server certificate verify failed: certificate does not match hostname
Connected to HTTPS on ***.***.172.2
Failed to read from SSL socket: The TLS connection was non-properly terminated.
Error fetching HTTPS response
Failed to obtain WebVPN cookie
***END ERROR OUTPUT

有什么想法吗?谢谢!

相关内容