curl -k -i https://<IP>/appplatform1/plugin.json
HTTP/1.1 200 Connection established
HTTP/1.1 502 Bad GatewayServer: nginx/1.22.0Date: <day<, <date> <time> <timezone>Content-Type: text/htmlContent-Length: 157Connection: keep-alive
<html><head><title>502 Bad Gateway</title></head><body><center><h1>502 Bad Gateway</h1></center><hr><center>nginx/1.22.0/center></body></html>
[error] 6#0: *10749 upstream SSL certificate verify error: (10:certificate has expired) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: "GET /plugin.json HTTP/1.0", upstream: "https://<IP>:8053/plugin.json", host: "127.0.0.1:9901"[error] 6#0: *10751 upstream SSL certificate verify error: (10:certificate has expired) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: "GET /plugin.json HTTP/1.0", upstream: "https://<IP>:8053/plugin.json", host: "127.0.0.1:9901"[error] 6#0: *10753 upstream SSL certificate verify error: (10:certificate has expired) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: "GET /plugin.json HTTP/1.0", upstream: "https://<IP>:8053/plugin.json", host: "127.0.0.1:9901"
<IP> here is the service endpoint (cluster-IP) for the cci-ns-plugin. You can confirm the presence of the same by using the below command. The expected output can also be seen below.NAMESPACE NAME AGEsvc-cci-service-domain-c<ID> cci-ns-plugin 377dsvc-tkg-domain-c<ID> tkgs-plugin 377d* Trying <IP>:8053...* Connected to <IP> (<ip>) port 8053 (#0)* ALPN: offers http/1.1* TLSv1.3 (OUT), TLS handshake, Client hello (1):* TLSv1.3 (IN), TLS handshake, Server hello (2):* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):* TLSv1.3 (IN), TLS handshake, Certificate (11):* TLSv1.3 (IN), TLS handshake, CERT verify (15):* TLSv1.3 (IN), TLS handshake, Finished (20):* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):* TLSv1.3 (OUT), TLS handshake, Finished (20):* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384* ALPN: server accepted http/1.1* Server certificate:* subject: CN=<IP>; O=VMware; C=US* start date: <date and time>* expire date: <date and time>* issuer: CN=<vCenter server FQDN>; DC=vsphere; DC=local; C=US; ST=California; O=<vCenter server FQDN>VMware vSphere Kubernetes Service
The service endpoint certificate for the Cloud Consumption Interface (or Local Consumption Interface for version 9.0.1 and later) plugin has expired. Any issues with the same results in the interface not starting correctly when looking at the Resources tab for a namespace.
Currently we have the below workaround to regenerate/renew the certificate.
Post completing the steps above, on navigating to "Workload Management > Namespace > "select a namespace" > Resources Tab, you should no longer see the error message "502 Bad Gateway".
if the above does not resolve this ensure that the /etc/vmware/wcp/wcp-schedext-admission-controller-user-whitelist file is populated and correct on all control planes as per
https://knowledge.broadcom.com/external/article/381404/after-vc-upgrade-to-80u3-build-24262322.html and above and then follow the above workaround
To read more about the vSphere Supervisor services, refer the following link- vSphere Supervisor Services