The private-registry with ssl on closed network can't communicate with

I built a private registry with Harbor based on SSL.
I want to communicate though private registry including and
So I pushed private containers, containers and containers images.

The private container images works with private registry.
But, The container images can’t communicate with private registry.

Micok8s can’t find container images.
Could you know how to configure with private registry.

Cluster Environment: Closed Network
Microk8s version : 1.25
Private Regisry : Harbor 2.6.0

The containerd configuation related to is as follow.


cd /var/snap/microk8s/current/args
vi containerd-template.toml

config_path = “${SNAP_DATA}/args/certs.d”
username = “admin”
password = “Harbor12345”

cd /var/snap/microk8s/current/args/certs.d/

vi hosts.toml
server = “

capabilities = [“pull”, “resolve”, “push”]
ca = “/var/snap/microk8s/current/args/certs.d/”
client = [[“/var/snap/microk8s/current/args/certs.d/”, “/var/snap/microk8s/current/args/certs.d/”]]