864398
% containers-certs.d(5)
864398
864398
# NAME
864398
containers-certs.d - Directory for storing custom container-registry TLS configurations
864398
864398
# DESCRIPTION
864398
A custom TLS configuration for a container registry can be configured by creating a directory under `/etc/containers/certs.d`.
864398
The name of the directory must correspond to the `host:port` of the registry (e.g., `my-registry.com:5000`).
864398
864398
## Directory Structure
864398
A certs directory can contain one or more files with the following extensions:
864398
864398
* `*.crt`  files with this extensions will be interpreted as CA certificates
864398
* `*.cert` files with this extensions will be interpreted as client certificates
864398
* `*.key`  files with this extensions will be interpreted as client keys
864398
864398
Note that the client certificate-key pair will be selected by the file name (e.g., `client.{cert,key}`).
864398
An examplary setup for a registry running at `my-registry.com:5000` may look as follows:
864398
```
864398
/etc/containers/certs.d/    <- Certificate directory
864398
└── my-registry.com:5000    <- Hostname:port
864398
   ├── client.cert          <- Client certificate
864398
   ├── client.key           <- Client key
864398
   └── ca.crt               <- Certificate authority that signed the registry certificate
864398
```
864398
864398
# HISTORY
864398
Feb 2019, Originally compiled by Valentin Rothberg <rothberg@redhat.com>