Repository navigation
Conversation
Intermediate certificates are issued by TLS providers who themselves are an intermediate of a certificate in the trust store. Therefore, to prove the chain of trust is valid, you need to include their certificate as well as yours when you send your certificate to the client. Contrary to what I said in issue #683, distribution can handle these certificate bundles like nginx. As discussed in #docker-distribution, I have updated the deployment documentation (which recommends the use of a TLS certificate from a provider) to include instructions on how to handle the intermediate certificate when a user is configuring distribution. Signed-off-by: Luke Carpenter <[email protected]>
There was a problem hiding this comment.
Remove mention of third party service. Intermediate certificates are a common thing. Perhaps, a link to https://en.wikipedia.org/wiki/Intermediate_certificate_authorities would help here.
There was a problem hiding this comment.
Hmm, I'm not sure about linking to the wikipedia page, I doubt users are going to find themselves in a situation where they're not sure if they have an intermediate certificate.
|
@moxiegirl PTAL |
Signed-off-by: Luke Carpenter <[email protected]>
|
looking |
There was a problem hiding this comment.
@rxbynerd thank you for the contribution. There are a few Markdown issues and minor punctuation. Also, I think some sentence structures can be improved;
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.
There was a problem hiding this comment.
sounds great - updated w/ content from your gist
Signed-off-by: Luke Carpenter <[email protected]>
|
LGTM |
1 similar comment
|
LGTM |
…-in-docs Include configuration explanation for intermediate TLS certificates
Intermediate certificates are issued by TLS providers who themselves are
an intermediate of a certificate in the trust store. Therefore, to prove
the chain of trust is valid, you need to include their certificate as
well as yours when you send your certificate to the client.
Contrary to what I said in issue #683, distribution can handle these
certificate bundles like nginx. As discussed in #docker-distribution,
I have updated the deployment documentation (which recommends the use of
a TLS certificate from a provider) to include instructions on how to
handle the intermediate certificate when a user is configuring
distribution.
Closes #683.