website icon indicating copy to clipboard operation
website copied to clipboard

docs: document x509 keyUsage and extendedKeyUsage for etcd TLS

Open Aditya7880900936 opened this issue 9 months ago • 12 comments

This PR documents recommended X.509 keyUsage and extendedKeyUsage values for certificates used to secure etcd transport (CA, server, client, and peer).

This clarifies existing behavior enforced by Go's crypto/tls and crypto/x509 libraries.

Fixes etcd-io/etcd#19799

Docs-only change.

Aditya7880900936 avatar Feb 10 '26 08:02 Aditya7880900936

Hi @Aditya7880900936. Thanks for your PR.

I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Feb 10 '26 08:02 k8s-ci-robot

hi @ronaldngounou @ivanvc , Have a look in this PR and feel free to suggest any changes

Aditya7880900936 avatar Feb 16 '26 21:02 Aditya7880900936

/ok-to-test

ronaldngounou avatar Feb 17 '26 16:02 ronaldngounou

@Aditya7880900936 Can you please fix the lint failures in https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/etcd-io_website/1123/pull-website-lint/2023798261906673664 ?

ronaldngounou avatar Feb 17 '26 16:02 ronaldngounou

@ronaldngounou , i corrected the lint failure kindly check it

Aditya7880900936 avatar Feb 17 '26 16:02 Aditya7880900936

Thanks. Could you please squash your commits as well?

ronaldngounou avatar Feb 18 '26 01:02 ronaldngounou

Hi @ronaldngounou , I have implmenetd the squash changes you have suggested earlier , feel free to have any suggestions

Aditya7880900936 avatar Feb 18 '26 04:02 Aditya7880900936

/lgtm

ronaldngounou avatar Feb 18 '26 04:02 ronaldngounou

@ivanvc @siyuanfoundation can you have a quick sanity check look at the info here to make sure it's technically correct?

jberkus avatar Mar 04 '26 01:03 jberkus

I think @ArkaSaha30 may be able to help verify that this documentation is accurate.

ivanvc avatar Apr 20 '26 21:04 ivanvc

@ivanvc @siyuanfoundation can you have a quick sanity check look at the info here to make sure it's technically correct?

I am not an expert on security. Will defer it to others for review. /cc @fuweid

siyuanfoundation avatar Apr 20 '26 21:04 siyuanfoundation

New changes are detected. LGTM label has been removed.

k8s-ci-robot avatar May 20 '26 15:05 k8s-ci-robot

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Aditya7880900936 Once this PR has been reviewed and has the lgtm label, please ask for approval from ronaldngounou. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar May 20 '26 15:05 k8s-ci-robot

Thanks @markwort for the detailed review and suggestions!

I've updated the section to remove the CA certificate entry, align the terminology with the existing "server-to-server" wording used in the documentation, and clarify that the peer/client certificate guidance applies when the corresponding client certificate authentication settings are enabled.

I've also removed the SAN/CN wording since it was too broad in the context of current etcd behavior.

Aditya7880900936 avatar May 20 '26 15:05 Aditya7880900936