mirror of
https://github.com/distribution/distribution
synced 2024-11-06 19:35:52 +01:00
Merge pull request #686 from rxbynerd/include-intermediate-tls-config-in-docs
Include configuration explanation for intermediate TLS certificates
This commit is contained in:
commit
171ed44bf9
@ -89,6 +89,14 @@ docker run -d -p 5000:5000 \
|
||||
registry:2
|
||||
```
|
||||
|
||||
A certificate issuer may supply you with an *intermediate* certificate. In this case, you must combine your certificate with the intermediate's to form a *certificate bundle*. You can do this using the `cat` command:
|
||||
|
||||
```
|
||||
$ cat server.crt intermediate-certificates.pem > server.with-intermediate.crt
|
||||
```
|
||||
|
||||
You then configure the registry to use your certificate bundle by providing the `REGISTRY_HTTP_TLS_CERTIFICATE` environment variable.
|
||||
|
||||
**Pros:**
|
||||
|
||||
- best solution
|
||||
|
Loading…
Reference in New Issue
Block a user