You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A custom TLS configuration for a container registry can be configured by creating a directory under `$HOME/.config/containers/certs.d` or `/etc/containers/certs.d`.
8
-
The name of the directory must correspond to the `host:port` of the registry (e.g., `my-registry.com:5000`).
8
+
The name of the directory must correspond to the `host`[`:port`] of the registry (e.g., `my-registry.com:5000`).
9
+
10
+
The port part presence / absence must precisely match the port usage in image references,
11
+
e.g. to affect `podman pull registry.example/foo`,
12
+
use a directory named `registry.example`, not `registry.example:443`.
13
+
`registry.example:443` would affect `podman pull registry.example:443/foo`.
9
14
10
15
## Directory Structure
11
16
A certs directory can contain one or more files with the following extensions:
@@ -18,7 +23,7 @@ Note that the client certificate-key pair will be selected by the file name (e.g
18
23
An exemplary setup for a registry running at `my-registry.com:5000` may look as follows:
19
24
```
20
25
/etc/containers/certs.d/ <- Certificate directory
21
-
└── my-registry.com:5000 <- Hostname:port
26
+
└── my-registry.com:5000 <- Hostname[:port]
22
27
├── client.cert <- Client certificate
23
28
├── client.key <- Client key
24
29
└── ca.crt <- Certificate authority that signed the registry certificate
0 commit comments