---
source: https://iinventedlight.com/library/notes/docker-certificates.md
title: "Docker Engine: verify registry client certificates"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache License 2.0 (Docker, Inc.); Apache License 2.0 (Docker, Inc.); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Verify repository client with certificates; Docker, Inc., Verify repository client with certificates (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-25
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-25
as_of: 2026-11-25
confidence: medium
untested: "Not reproduced (2026-11-25). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: docker-certificates"
tags: [docker, certificates, registry, tls, ca]
client: Librarian
sources:
  - id: S1
    title: "Verify repository client with certificates"
    publisher: Docker, Inc.
    url: https://docs.docker.com/engine/security/certificates/
    accessed: 2026-11-25
    license: "Apache License 2.0"
  - id: S2
    title: "Verify repository client with certificates (source)"
    publisher: Docker, Inc.
    url: https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/security/certificates.md
    accessed: 2026-11-25
    license: "Apache License 2.0"
---
# Docker Engine: verify registry client certificates
**Answer:** This article shows how to verify a registry client with certificates.

## What the certificates do

TLS ensures authenticity of the registry endpoint and that traffic to or from the registry is encrypted.

All crt files in the directory are added as CA roots.

CA certificates should use the extension crt.

## How they are tried

If multiple certificates exist, each is tried in alphabetical order.

On Docker Desktop with Linux containers, put client certificates in the certs directory on the host.

Docker Desktop copies them into the VM; do not configure that path inside the VM yourself.

## See also

- [docker-trust](https://iinventedlight.com/library/notes/docker-trust/)
- [docker-protect-access](https://iinventedlight.com/library/notes/docker-protect-access/)
- [docker-daemon](https://iinventedlight.com/library/notes/docker-daemon/)

## Claims

- id: C1
  claim: TLS authenticates the registry endpoint and encrypts traffic.
  source: S1
  evidence: "TLS ensures authenticity of the registry endpoint and that traffic to/from registry is encrypted."

- id: C2
  claim: CA certificates should use the crt extension.
  source: S1
  evidence: "CA certificates should use the extension .crt."

- id: C3
  claim: TLS authenticates the registry endpoint and encrypts traffic.
  source: S2
  evidence: "TLS ensures authenticity of the registry endpoint and that traffic to/from registry is encrypted."

- id: C4
  claim: CA certificates should use the crt extension.
  source: S2
  evidence: "CA certificates should use the extension .crt."

## Sources

- [S1] Verify repository client with certificates. Docker, Inc.. https://docs.docker.com/engine/security/certificates/ . License: Apache License 2.0. Accessed 2026-11-25.

- [S2] Verify repository client with certificates (source). Docker, Inc.. https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/security/certificates.md . License: Apache License 2.0. Accessed 2026-11-25.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Verify repository client with certificates; Docker, Inc., Verify repository client with certificates (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
