A private registry with an internal CA fails with `x509: certificate signed by unknown authority` during image pull.
IntermediateTroubleshootingPod startup failures
Answer
Likely causes → The pull is done by containerd on the node, not by the Pod, so the node OS or containerd does not trust the internal CA.
Diagnose →
# On the node
sudo crictl pull registry.internal.corp/web:1.0
openssl s_client -connect registry.internal.corp:443 -showcerts </dev/null | head -20
Fix → Install the CA on every node (/usr/local/share/ca-certificates/ + update-ca-certificates), or configure containerd per registry:
# /etc/containerd/certs.d/registry.internal.corp/hosts.toml
server = "https://registry.internal.corp"
[host."https://registry.internal.corp"]
ca = "/etc/containerd/certs.d/registry.internal.corp/ca.crt"
Make sure config_path = "/etc/containerd/certs.d" is set for the CRI registry plugin, then restart containerd.
Prevent → Bake the CA into the node image (AMI / launch template user data) so new nodes get it.
More on Pod startup failures
A Pod shows `CrashLoopBackOff` with `RESTARTS 7` and events say `Back-off restarting failed container app`. Where do you start?Beginner`kubectl logs web-0 --previous` returns nothing useful and the container dies in under a second. How do you get inside it?IntermediatePod status is `ImagePullBackOff` and events show `Failed to pull image "registry.example.com/web:1.4.2": rpc error: code = NotFound desc = failed to pull and unpack image ... not found`.BeginnerEvents show `pull access denied for registry.example.com/web, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed`.BeginnerPulls from Docker Hub randomly fail with `toomanyrequests: You have reached your pull rate limit`.IntermediateA new image works on laptops but on nodes the Pod crash-loops and logs show only `exec /app/server: exec format error`.Intermediate