Problems with the Kubernetes special agent

Output Telnet

telnet 192.168.x.x 6443
Trying 192.168.x.x...
Connected to 192.168.x.x.
Escape character is '^]'.
Connection closed by foreign host.

curl with https:

curl https://192.168.x.x:6443/api/
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

curl with http:
Client sent an HTTP request to an HTTPS server.

But in terms of the network, I must be able to reach the host because the host has a network card installed in it which is located in that network. So it should be on the same network. And just to be sure, I also checked the firewall and no packets are being sent through it.

I can also contact the API with the admin.conf file from another host in another network and that works…

I also tried to run it once with one of the masternodes because I have a HA installation which has a virtual IP from a LoadBalancer in front of it, but there I have exactly the same problem. So the load balancer in front of it cannot be the problem.

The master nodes are also all up and ready.

k8s-m1   Ready    control-plane,master   4d17h   v1.23.6
k8s-m2   Ready    control-plane,master   4d17h   v1.23.6
k8s-m3   Ready    control-plane,master   4d17h   v1.23.6
k8s-w1   Ready    <none>                 4d17h   v1.23.6
k8s-w2   Ready    <none>                 4d17h   v1.23.6
k8s-w3   Ready    <none>                 4d17h   v1.23.6

Thanks so far for your help!