docs: document x509 keyUsage and extendedKeyUsage for etcd TLS
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.
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.
hi @ronaldngounou @ivanvc , Have a look in this PR and feel free to suggest any changes
/ok-to-test
@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 , i corrected the lint failure kindly check it
Thanks. Could you please squash your commits as well?
Hi @ronaldngounou , I have implmenetd the squash changes you have suggested earlier , feel free to have any suggestions
/lgtm
@ivanvc @siyuanfoundation can you have a quick sanity check look at the info here to make sure it's technically correct?
I think @ArkaSaha30 may be able to help verify that this documentation is accurate.
@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
New changes are detected. LGTM label has been removed.
[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.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
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.