OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv icon indicating copy to clipboard operation
OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv copied to clipboard

Server certificate verify failed: signer not found

Open crxssrazr93 opened this issue 2 years ago • 3 comments
trafficstars

Connection keeps reconnecting.

2023-07-03 17:21:33 | 614c | SSL read error: The TLS connection was non-properly terminated.; reconnecting.
2023-07-03 17:21:33 | 614c | SSL negotiation with 129.153.152.36
2023-07-03 17:21:33 | 614c | Server certificate verify failed: signer not found
2023-07-03 17:21:34 | 614c | Connected to HTTPS on 129.153.152.36

crxssrazr93 avatar Jul 03 '23 10:07 crxssrazr93

Hi, are you using docker? It seems there is a problem with signed certificate. I suggest creating it again and check the container logs.

iw4p avatar Jul 03 '23 13:07 iw4p

Hi, are you using docker? It seems there is a problem with signed certificate. I suggest creating it again and check the container logs.

Yes, I am using docker.

This is the log output:

ubuntu@instance-20230404-2236:~/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv$ sudo docker logs 2890d98c42fa
net.ipv4.ip_forward = 1
note: vhost:default: setting 'plain' as primary authentication method
note: setting 'file' as supplemental config option
listening (TCP) on 0.0.0.0:9443...

crxssrazr93 avatar Jul 03 '23 13:07 crxssrazr93

It can be a misconfigured certificate. Maybe you don't have the certificate in the right location, or the permissions on the certificate is not incorrect. I suggest to git clone this repo, and then try to build image from the local Dockerfile and see anything changes or not. It's a little bit strange for me because Docker creates an isolated space, and it is fine for everyone, and it is not normal that you are not fine with it. Please also try the script (non Docker way).

iw4p avatar Jul 03 '23 14:07 iw4p