Skip to content

Commit

Permalink
update note on commonName field
Browse files Browse the repository at this point in the history
See cert-manager#1474

Signed-off-by: Ashley Davis <[email protected]>
  • Loading branch information
SgtCoDFish committed Sep 5, 2024
1 parent 6ec7f87 commit f587616
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions content/docs/usage/certificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ spec:
subject:
organizations:
- jetstack
# The use of the common name field has been deprecated since 2000 and is
# discouraged from being used.
# Avoid using commonName for end-entity certificates for DNS names. Unless you have a specific
# need for it in your environment, use dnsNames exclusively to avoid the issues with commonName.
# Most commonly, commonName is used to give human-readable names to CA certificates.
commonName: example.com

# The literalSubject field is exclusive with subject and commonName. It allows
Expand Down

0 comments on commit f587616

Please sign in to comment.