Key Takeaways
- RFC 9525 is the IETF standard that defines how a TLS client represents and verifies the identity of an application service.
- It removed the common name as a service identity, restricted wildcards to the left-most label, and added IP-ID.
- RFC 9190 gives Wi-Fi clients their own server-name check against the certificate’s subject alternative name.
A certificate signed by a trusted certificate authority (CA) proves little on its own. It does not prove the certificate belongs to the server your client just connected to. The rules for closing that gap are in RFC 9525, which replaced RFC 6125 in November 2023. This article covers how the name check works, what changed, what it means for issuers and developers and how the same discipline carries over to Wi-Fi.
What Is RFC 9525?
RFC 9525 is the IETF specification for representing and verifying the identity of application services that use Transport Layer Security (TLS) with X.509 public key infrastructure (PKIX) certificates. It is an Internet Engineering Task Force (IETF) Proposed Standard written by Peter Saint-Andre and Rich Salz and published in November 2023.
It obsoletes RFC 6125, which the IETF published in March 2011. The scope covers TLS, Datagram Transport Layer Security (DTLS) and related protocols, with QUIC named as an example. The core idea is service identity, and the next section shows how a client verifies it.
How Service Identity Verification Works
The check follows three steps. The order of these steps matters because the client decides what to expect independently of anything the server presents.
- The client builds its list of reference identifiers from what it was told to connect to, using inputs such as a URI typed by the user or configured account information.
- The server presents its certificate.
- The client compares the names, and the check succeeds if any presented identifier matches a reference identifier.
RFC 9525 calls the name the client expects its reference identity, and the name in the certificate its presented identity. Domain name matching compares labels with a case-insensitive ASCII comparison, so WWW.BigCompany.Example matches www.bigcompany.example. That name comparison is the core of certificate hostname verification.
RFC 9525 covers only the names in the server’s own end-entity certificate, so applications still need to validate the full certification path under RFC 5280. A client should also check expiration and revocation, though RFC 9525 treats those checks as outside its own scope.
The Four Identifier Types in RFC 9525
RFC 9525 defines four identifier types. Each one is a subject alternative name (SAN) entry in the certificate. The table below maps each type to its certificate field and an example from the RFC.
|
Identifier |
Subject alternative name entry type |
Example |
|---|---|---|
|
DNS-ID |
dNSName |
www.bigcompany.example |
|
IP-ID |
iPAddress |
2001:db8::5c |
|
SRV-ID |
otherName (SRVName form) |
_imaps.isp.example |
|
URI-ID |
uniformResourceIdentifier |
sip:voice.college.example |
DNS-ID and IP-ID work for any service. An SRV-ID or URI-ID ties a certificate to one type of application service, such as _imaps.isp.example for an IMAP mail server or sip:voice.college.example for a Session Initiation Protocol (SIP) voice server.
What Changed From RFC 6125 to RFC 9525
RFC 6125 already defined DNS-ID, SRV-ID and URI-ID, so the changes are about what was removed, tightened and added.
The Common Name Is No Longer a Service Identity
RFC 6125 let a client, as a last resort, check the common name when a certificate carried no DNS-ID, SRV-ID or URI-ID. RFC 9525’s list of changes says the server identity can be expressed only in the subject alternative name extension, and that using the common name, which RFC 6125 called CN-ID, is no longer valid.
RFC 9525 says the common name must not be used to identify a service because it is essentially free-form text that is open to different interpretations. RFC 9525 bans using the common name to identify a service, but a certificate may still contain one, although RFC 9525 advises against putting strings that look like domain names in it.
Wildcards Only in the Left-Most Label
RFC 6125 allowed clients to match partial-label wildcards such as baz*.example.net, *baz.example.net and b*z.example.net. RFC 9525’s list of changes says the only legal place for a wildcard is the complete left-most label of a domain name.
A wildcard in a certificate name is valid only if there is exactly one wildcard character and it makes up the complete left-most label; otherwise the client must ignore that name. A wildcard matches exactly one label, so *.bigcompany.example covers a single-label hostname in that domain but not deeper levels. RFC 9525 still allows wildcard certificates, within those two limits.
IP Addresses Get Their Own Identifier
RFC 6125 left identifiers other than fully qualified domain names (FQDNs), including IP addresses, out of scope. RFC 9525’s list of changes says IP-ID reference identifiers have been added.
An IP-ID must exactly match an iPAddress entry in the subject alternative name, octet for octet, with no partial or network-level matching. Because the TLS Server Name Indication (SNI) extension only carries domain names, a server that wants to present an IP-ID needs to present it on connections made without SNI.
What RFC 9525 Means for Certificate Issuers and Developers
The rules land differently depending on which side of the handshake you’re on.
For Certificate Issuers and Service Operators
RFC 9525 says a certificate must include at least one identifier and should include a DNS-ID as a baseline for interoperability. It recommends that service operators request certificates with as few identifiers as necessary to identify a single service.
That second rule follows from risk. Every name in a certificate shares its risk: a compromise of any server named in the set affects all the names, so the set is only as strong as its weakest server. RFC 9525 also notes that cross-protocol attacks are possible when two different protocol services share one certificate, and that restricted identifiers or separate certificates address this.
For Application Developers
The client must build its list of acceptable reference identifiers independently of the identifiers the server presents. Build that list from your own configuration, never from the certificate you are about to evaluate.
When no presented name matches, an automated client should end the connection with a bad certificate error and log it, and it must not turn that check off by default. A client that a person controls should warn the user about the mismatch and end the connection, and it may let advanced users proceed only with extreme caution.
Check the dNSName entry, not the common name. When a name mismatch error appears, fix the certificate or the client configuration and leave the check on.
Common Name vs. Subject Alternative Name: A Short History
RFC 2818, published in May 2000, already called common name matching deprecated: it said a dNSName entry must be used as the identity when present and encouraged certificate authorities to use it. Google Chrome removed support for common name matching in Chrome 58.
The CA/Browser Forum Baseline Requirements say the subject alternative name must be present in publicly trusted TLS server certificates and must contain at least one dNSName or iPAddress entry. RFC 9525 sets the same rule on the client side: a TLS client takes the server’s identity from the subject alternative name.
Server Certificate Validation on Enterprise Wi-Fi
On an 802.1X network that uses EAP-TLS, the certificate-based method of the Extensible Authentication Protocol (EAP), the Wi-Fi client is expected to perform server certificate validation on the RADIUS server’s certificate before it authenticates. RFC 9190, published in February 2022, defines EAP-TLS with TLS 1.3 and updates RFC 5216.
RFC 9190 describes its own check. The EAP server’s identity is typically a fully qualified domain name in the server certificate’s subject alternative name, and EAP peers should let administrators configure trusted root certificates and one or more server names to match against it. The check passes if any configured server name matches any name in the subject alternative name extension.
RFC 9190 also warns that if server name matching is not used with a public root certificate authority, effectively any server can obtain a certificate that the device will trust for EAP authentication. That is the gap a rogue access point posing as your network, known as an evil twin, can exploit.
For server certificate validation guidance, RFC 9190 points to RFC 6125, the document RFC 9525 later replaced. RFC 9525 itself does not mention EAP, RADIUS or 802.1X. Treat RFC 9525 as related good practice for RADIUS server certificates, not as the rule your supplicant follows.
Apple’s device management reference describes the TLSTrustedServerNames key in Wi-Fi profiles as the list of accepted server certificate common names. Microsoft’s Intune reference for Windows enterprise Wi-Fi profiles tells administrators to enter one or more common names used in the certificates issued by your trusted certificate authority in the “Certificate server names” setting. Neither page says how the device matches the name internally.
According to RFC 9190, the EAP server’s identity is typically a fully qualified domain name in the subject alternative name. When you issue a RADIUS server certificate, we recommend putting the server name in a dNSName subject alternative name entry and, if you include a common name, making it the same name.
Finally, RFC 9190 calls configuring a root certificate and server name “non-trivial” and recommends automated provisioning methods.
Configure Server Certificate Validation on Every Device
A certificate proves identity only when every client checks the name against what it expected. Doing that by hand means installing the right certificate authority, turning on verification and entering the trusted RADIUS server’s domain, with steps that vary by device and operating system. JoinNow Cloud RADIUS enforces passwordless EAP-TLS certificate authentication across wired, wireless and virtual private network (VPN) access.
JoinNow MultiOS lets end users configure their own devices in minutes, after which the device is set up to the network’s specifications. To see how Cloud RADIUS and JoinNow MultiOS fit your network, schedule a demo.
Frequently Asked Questions
What is the common name in an SSL certificate?
It is an attribute commonly found in a certificate’s subject distinguished name that, when identifying machines, holds a fully qualified domain name or IP address. TLS clients that follow RFC 9525 do not read it to decide which server they reached.
Does a certificate need a common name?
Not for a publicly trusted TLS server certificate. The CA/Browser Forum marks the common name as “not recommended” in these certificates, and if a certificate authority includes it, it must copy one of the values from the subject alternative name. The required field is the subject alternative name. Those rules govern publicly trusted certificate authorities, not a private certificate authority that issues RADIUS server certificates.
How do you fix a certificate common name invalid error?
That error usually means the name the client expected is not in the certificate’s subject alternative name. Reissue the certificate with that exact hostname or IP address as a subject alternative name entry, and keep the list short. RFC 9525 says a certificate must include at least one identifier and should include a DNS-ID, and it recommends that operators request as few identifiers as necessary.
Does RFC 9525 apply to client certificates?
No. RFC 9525 leaves client and end-user identities out of scope. Identity rules for client certificates sit outside RFC 9525, so the protocol or deployment that uses them defines them.