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

Add Certificate 'otherNames' SAN field description #1378

Merged
14 changes: 12 additions & 2 deletions content/docs/releases/release-notes/release-notes-1.14.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,18 @@ The KeyUsage and BasicConstraints extensions will now be encoded as critical in

#### New X.509 Features

The cert-manager Certificate resource now allows you to configure "Other Name" SANs,
which are useful when issuing certificates for authenticating with LDAP systems such as Microsoft Active Directory.
The cert-manager Certificate resource now allows you to configure a subset of "Other Name" SANs.
Other Name is one of the GeneralNames like dnsName, IP , URL or URI SAN, described [page 37 in this RFC section on SANs](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.6)
SpectralHiss marked this conversation as resolved.
Show resolved Hide resolved

We specifically support any utf8 valued otherName type such as the [User Principal Name](https://docs.venafi.com/Docs/current/TopNav/Content/Certificates/r-UEP-support-SANs.php) or [sAMAccountName](https://learn.microsoft.com/en-us/windows/win32/ad/naming-properties).
SpectralHiss marked this conversation as resolved.
Show resolved Hide resolved
These are useful when issuing unique certificates for authenticating with LDAP systems such as Microsoft Active Directory.
For example you can create certificates with this block in the spec:
```
otherNames:
- oid: 1.3.6.1.4.1.311.20.2.3 # UPN OID
utf8Value: upn@domain.local
```
The feature is still in alpha stage and requires you to enable the "OtherName" feature flag in controller and webhook components, [details here](https://cert-manager.io/docs/installation/configuring-components/#feature-gates).
SpectralHiss marked this conversation as resolved.
Show resolved Hide resolved

#### New CA certificate Features

Expand Down
7 changes: 6 additions & 1 deletion content/docs/usage/certificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,19 @@ spec:
usages:
- server auth
- client auth
# At least one of a DNS Name, URI, or IP address is required.
# At least one of a DNS Name, URI, IP address or otherName is required.
dnsNames:
- example.com
- www.example.com
uris:
- spiffe://cluster.local/ns/sandbox/sa/example
ipAddresses:
- 192.168.0.5
# Needs cert-manager 1.14+ and "OtherName" feature flag
otherNames:
# Should only supply oid of ut8 valued types
- oid: 1.3.6.1.4.1.311.20.2.3 # User Principal Name "OID"
utf8Value: upn@example.local
# Issuer references are always required.
issuerRef:
name: ca-issuer
Expand Down
Loading