containerd: `failed to pull and unpack image: failed to resolve reference ... x509` / `http: server gave HTTP response to HTTPS client`
IntermediateTroubleshootingSecurity, rootless, Podman and containerd
Answer
Likely causes → containerd isn't using Docker's certs.d; the registry TLS/CA isn't configured for containerd.
Diagnose → crictl pull reg/app:tag; grep -A5 registry /etc/containerd/config.toml.
Fix → Configure config_path = "/etc/containerd/certs.d" and hosts.toml with CA or skip_verify (test only); systemctl restart containerd.
Prevent → Provision registry config for containerd with config management.
More on Security, rootless, Podman and containerd
Rootless Docker: `dockerd-rootless.sh` fails with `newuidmap: write to uid_map failed: Operation not permitted`IntermediateRootless: `rootlesskit: failed to ... listen tcp 0.0.0.0:80: bind: permission denied`BeginnerRootless Docker stops when you log out of SSH.BeginnerRootless containers: `Error: ... cannot set up namespace using "/usr/bin/newuidmap": should have setuid or have filecaps setuid` (Podman).IntermediatePodman: `Error: short-name "nginx" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"`BeginnerPodman rootless: `Error: cannot find newuidmap` / ping fails inside container: `ping: permission denied (are you root?)`.Intermediate