A pentest finds Grafana reachable from the internet with `admin/admin`, and an exposed Kubernetes Dashboard
BeginnerTroubleshootingCertificates, TLS and security incident response
Answer
Likely causes → Tools were installed with Helm defaults and exposed with a LoadBalancer Service or a public Ingress for convenience.
Diagnose →
kubectl get svc -A --field-selector spec.type=LoadBalancer
kubectl get ingress -A
Check the Grafana and Dashboard access logs for logins from unknown IPs.
Fix → Take them off the public network right away (ClusterIP, internal LB, or behind an auth proxy with SSO). Change the Grafana admin password, enable SSO and disable basic login. Check the Dashboard SA's RBAC and remove the Dashboard if no one needs it. Review what was accessed.
Prevent → A policy that blocks type: LoadBalancer without an internal annotation in non-ingress namespaces, an external attack-surface scan, and no default credentials in Helm values.
More on Certificates, TLS and security incident response
A cert-manager Certificate stays `Ready=False` and the Challenge shows `Waiting for HTTP-01 challenge propagation: wrong status code '404', expected '200'`IntermediateA DNS-01 challenge hangs forever with `DNS record for "acme.com" not yet propagated`, although `dig` from your laptop shows the TXT recordAdvancedIssuance fails with `429 urn:ietf:params:acme:error:rateLimited: too many certificates already issued`BeginnerA service calling another internal service fails with `x509: certificate signed by unknown authority`BeginnerAt 05:30 every client starts failing with `x509: certificate has expired or is not yet valid`BeginnerBrowsers load `https://api.acme.com` fine, but `curl` and Java clients fail with `unable to get local issuer certificate`Intermediate