Skip to content

Commit

Permalink
Merge pull request #1548 from SgtCoDFish/common-name
Browse files Browse the repository at this point in the history
Update note on commonName field
  • Loading branch information
cert-manager-prow[bot] authored Sep 5, 2024
2 parents 6ec7f87 + 1a39330 commit 64f827c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions content/docs/usage/certificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,12 @@ spec:

subject:
organizations:
- jetstack
# The use of the common name field has been deprecated since 2000 and is
# discouraged from being used.
- cert-manager

# Avoid using commonName for DNS names in end-entity (leaf) certificates. Unless you have a specific
# need for it in your environment, use dnsNames exclusively to avoid issues with commonName.
# Usually, commonName is used to give human-readable names to CA certificates and can be avoided for
# other certificates.
commonName: example.com

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

0 comments on commit 64f827c

Please sign in to comment.