Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent opinion on common name field #1474

Open
stevenpitts opened this issue May 2, 2024 · 0 comments
Open

Inconsistent opinion on common name field #1474

stevenpitts opened this issue May 2, 2024 · 0 comments

Comments

@stevenpitts
Copy link

# The use of the common name field has been deprecated since 2000 and is
# discouraged from being used.

As explored and summarized in caddyserver/caddy#3755 (comment), the deprecation of the CN field has some ambiguity. I don't have an opinion one way or the other, but cert-manager discourages its use and documents usage of it in a "Bootstrapping CA Issuers" example:

commonName: my-selfsigned-ca

If commonName were removed from that example, applying it would result in an error:

at least one of commonName, dnsNames, uriSANs, ipAddresses, emailSANs or otherNames must be set

The language in the comment should be made less absolute, or the usage of commonName in examples should be replaced with a field that is not deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant