Skip to content

Resolver: add mTLS support - #2364

Open
mironovgh wants to merge 1 commit into
containerd:mainfrom
mironovgh:mironovgh/add-mtls-support
Open

Resolver: add mTLS support#2364
mironovgh wants to merge 1 commit into
containerd:mainfrom
mironovgh:mironovgh/add-mtls-support

Conversation

@mironovgh

@mironovgh mironovgh commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

The registry resolver does not currently apply custom TLS settings to mirror connections, preventing access to registries that require a custom CA or client authentication.

Add optional per-mirror TLS configuration for custom CA certificates and mTLS client certificate/key pairs. mTLS can be configured alongside the existing resolver mirror configuration, for example:

[resolver]
  [[resolver.host."my.registry.io".mirrors]]
    host = "my.registry.io"
    [resolver.host."my.registry.io".mirrors.tls]
      ca_file = "/etc/ssl/certs/machine-cas.pem"
      cert_file = "/etc/ssl/private/machine-cert-and-key.pem"
      key_file = "/etc/ssl/private/machine-cert-and-key.pem"

Test procedure:

  1. Enable mTLS via config.toml
  2. Restart stargz gRPC service (and, if running, FUSE manager service)
  3. Confirm that existing lazy layers recover successfully, perform a manual pull of a lazy image e.g. via nerdctl

The registry resolver does not currently apply custom TLS settings to mirror connections, preventing access to registries that require a custom CA or client authentication.

Add per-mirror TLS configuration for custom CA certificates and mTLS client certificate/key pairs.

Signed-off-by: Alex Mironov <mironov@hey.com>
@mironovgh
mironovgh force-pushed the mironovgh/add-mtls-support branch from 7f6a7c3 to 0e59899 Compare August 13, 2026 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant