RFC 4334 PROPOSED STANDARD SECURITY · CERTIFICATES · EAP

Certificate Extensions and Attributes Supporting Authentication in Point-to-Point Protocol (PPP) and Wireless Local Area Networks (WLAN)

Certificate markers that tell a Wi-Fi or dial-up client which of its certificates fits which network.

On rfc-editor.org ↗
PUBLISHED
February 2006
AUTHORS
R. Housley, T. Moore
STREAM
IETF
BUILDS ON
RFC 3770 — Certificate Extensions and Attributes Supporting Authentication in Point-to-Point Protocol (PPP) and Wireless Local Area Networks (WLAN)
SSID LENGTH
1 to 32 octets
EAP OVER PPP OID
id-kp 13
EAP OVER LAN OID
id-kp 14
SSID EXTENSION OID
id-pe 13
SSID EXTENSION CRITICALITY
Always non-critical
DOI
10.17487/RFC4334
ERRATA
Reported errata

RFC text

Contents
Original text · RFC Editor View on rfc-editor.org ↗
Network Working Group                                         R. Housley
Request for Comments: 4334                                Vigil Security
Obsoletes: 3770                                                 T. Moore
Category: Standards Track                                      Microsoft
                                                           February 2006


            Certificate Extensions and Attributes Supporting
            Authentication in Point-to-Point Protocol (PPP)
                and Wireless Local Area Networks (WLAN)

Status of This Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2006).

Abstract

   This document defines two Extensible Authentication Protocol (EAP)
   extended key usage values and a public key certificate extension to
   carry Wireless LAN (WLAN) System Service identifiers (SSIDs).  This
   document obsoletes RFC 3770.

1. Introduction

   Several Extensible Authentication Protocol (EAP) [EAP] authentication
   methods employ X.509 public key certificates.  For example, EAP-TLS
   [EAP-TLS] can be used with PPP [PPP] as well as IEEE 802.1X [802.1X].
   PPP is used for dial-up and VPN environments.  IEEE 802.1X defines
   port-based, network access control, and it is used to provide
   authenticated network access for Ethernet, Token Ring, Wireless LANs
   (WLANs) [802.11], and other IEEE 802 networks.

   Automated selection of client certificates for use with PPP and IEEE
   802.1X is highly desirable.  By using certificate extensions to
   identify the intended environment for a particular certificate, the
   need for user input is minimized.  Further, the certificate
   extensions facilitate the separation of administrative functions
   associated with certificates used for different environments.

   IEEE 802.1X can be used for authentication with multiple networks.
   For example, the same wireless station might use IEEE 802.1X to
   authenticate to a corporate IEEE 802.11 WLAN and a public IEEE 802.11
   "hotspot."  Each of these IEEE 802.11 WLANs has a different network
   name, called Service Set Identifier (SSID).  If the network operators
   have a roaming agreement, then cross-realm authentication allows the
   same certificate to be used on both networks.  However, if the
   networks do not have a roaming agreement, then the IEEE 802.1X
   supplicant needs to select a certificate for the current network
   environment.  Including a list of SSIDs in a certificate extension
   facilitates automated selection of an appropriate X.509 public key
   certificate without human user input.  Alternatively, a companion
   attribute certificate could contain the list of SSIDs.

   This document defines extended key usage values and a WLAN-specific
   certificate extension for use in certificates issued to clients of
   PPP and WLANs.

1.1. Changes since RFC 3770

   This document is primarily same as RFC 3770.  Six significant changes
   are included:

      * This document now uses the same normative reference for ASN.1
        as RFC 3280 [PROFILE].  The intent is to have the same
        dependencies.

      * The discussion of the critical bit in the certificate extension
        in section 2 is aligned with RFC 3280.  Also, the discussion of
        the key usage certificate extension was expanded.

      * RFC 3770 contained a typographical error in the object
        identifier for the Wireless LAN SSID Attribute Certificate
        Attribute.  Section 4 corrects the typographical error.

      * Clarified that the SSID extension may appear in certificates
        that do not include the extended key usage extension.

      * Uses the terms "peer", "EAP Server", and "supplicant" as they
        are defined in [EAP] and [802.1X].  RFC 3770 used "client"
        and "server".

      * The object identifier for the extended key usage certificate
        extension is listed in RFC 3280, and it is no longer
        repeated in this document.

1.2. Conventions Used in This Document

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [STDWORDS].

1.3. Abstract Syntax Notation

   All X.509 certificate [X.509] extensions are defined using ASN.1
   [X.680,X.690].

2. EAP Extended Key Usage Values

   RFC 3280 [PROFILE] specifies the extended key usage X.509 certificate
   extension.  The extension indicates one or more purposes for which
   the certified public key may be used.  The extended key usage
   extension can be used in conjunction with key usage extension, which
   indicates the intended purpose of the certified public key.

   The extended key usage extension syntax is repeated here for
   convenience:

      ExtKeyUsageSyntax  ::=  SEQUENCE SIZE (1..MAX) OF KeyPurposeId

      KeyPurposeId  ::=  OBJECT IDENTIFIER

   This specification defines two KeyPurposeId values: one for EAP over
   PPP, and one for EAP over LAN (EAPOL).  Inclusion of the EAP over PPP
   value indicates that the certified public key is appropriate for use
   by a peer with EAP in the PPP environment.  The inclusion of the
   EAPOL value indicates that the certified public key is appropriate
   for use by a peer with the EAP in the LAN environment.  Inclusion of
   both values indicates that the certified public key is appropriate
   for use by a peer in either of the environments.

      id-kp  OBJECT IDENTIFIER  ::=
         { iso(1) identified-organization(3) dod(6) internet(1)
           security(5) mechanisms(5) pkix(7) 3 }

      id-kp-eapOverPPP  OBJECT IDENTIFIER  ::=  { id-kp 13 }

      id-kp-eapOverLAN  OBJECT IDENTIFIER  ::=  { id-kp 14 }

   The extended key usage extension MAY, at the option of the
   certificate issuer, be either critical or non-critical.

   Certificate-using applications MAY require the extended key usage
   extension to be present in a certificate, and they MAY require a
   particular KeyPurposeId value to be present (such as id-kp-eapOverPPP
   or id-kp-eapOverLAN) within the extended key usage extension.  If
   multiple KeyPurposeId values are included, the certificate-using
   application need not recognize all of them, as long as the required
   KeyPurposeId value is present.

   If a certificate contains a key usage extension, the KeyUsage bits
   that are needed depends on the EAP method that is employed.

   If a certificate contains both a key usage extension and an extended
   key usage extension, then both extensions MUST be processed
   independently, and the certificate MUST only be used for a purpose
   consistent with both extensions.  If there is no purpose consistent
   with both extensions, then the certificate-using application MUST NOT
   use the certificate for any purpose.

3. WLAN SSID Public Key Certificate Extension

   The Wireless LAN (WLAN) System Service identifiers (SSIDs) public key
   certificate extension is always non-critical.  It contains a list of
   SSIDs.  The list of SSIDs MAY be used to select the correct
   certificate for authentication in a particular WLAN.

   If the extended key usage extension appears in the same certificate
   as the SSID extension, then the extended key usage extension MUST
   indicate that the certified public key is appropriate for use with
   the EAP in the LAN environment by including the id-kp-eapOverLAN
   KeyPurposeId value.

   Since SSID values are unmanaged, the same SSID can appear in
   different certificates that are intended to be used with different
   WLANs.  When this occurs, automatic selection of the certificate will
   fail, and the implementation SHOULD obtain help from the user to
   choose the correct certificate.  In cases where a human user is
   unavailable, each potential certificate MAY be tried until one
   succeeds.  However, by maintaining a cache of Access Point (AP) MAC
   addresses or an EAP server identity with which the certificate has
   successfully authenticated, user involvement can be minimized.
   RADIUS [RADIUS1, RADIUS2] is usually used as the authentication
   service in WLAN deployments.  The cache can be used to avoid future
   human user interaction or certificate selection by trial and error.

   The WLAN SSID extension is identified by id-pe-wlanSSID.

      id-pe  OBJECT IDENTIFIER  ::=
         { iso(1) identified-organization(3) dod(6) internet(1)
           security(5) mechanisms(5) pkix(7) 1 }

      id-pe-wlanSSID  OBJECT IDENTIFIER  ::=  { id-pe 13 }

   The syntax for the WLAN SSID extension is:

      SSIDList  ::=  SEQUENCE SIZE (1..MAX) OF SSID

      SSID  ::=  OCTET STRING (SIZE (1..32))

4. WLAN SSID Attribute Certificate Attribute

   When the public key certificate does not include the WLAN SSID
   certificate extension, then an attribute certificate [ACPROFILE] can
   be used to associate a list of SSIDs with the public key certificate.
   The WLAN SSIDs attribute certificate attribute contains a list of
   SSIDs, and the list of SSIDs MAY be used to select the correct
   certificate for authentication in a particular WLAN environment.

   The WLAN SSID attribute certificate attribute is identified by
   id-aca-wlanSSID.

      id-aca  OBJECT IDENTIFIER  ::=
         { iso(1) identified-organization(3) dod(6) internet(1)
           security(5) mechanisms(5) pkix(7) 10 }

      id-aca-wlanSSID  OBJECT IDENTIFIER ::= { id-aca 7 }
   The syntax for the WLAN SSID attribute certificate attribute is
   exactly the same as that for the WLAN SSID extension:

      SSIDList  ::=  SEQUENCE SIZE (1..MAX) OF SSID

      SSID  ::=  OCTET STRING (SIZE (1..32))

5. Security Considerations

   The procedures and practices employed by the certification authority
   (CA) MUST ensure that the correct values for the extended key usage
   extension and SSID extension are inserted in each certificate that is
   issued.  Relying parties may accept or reject a particular
   certificate for an intended use based on the information provided in
   these extensions.  Incorrect representation of the information in
   either extension could cause the relying party to reject an otherwise
   appropriate certificate or accept a certificate that ought to be
   rejected.

   If multiple SSIDs are included in a certificate, then information can
   be obtained from a certificate about the SSIDs associated with
   several WLANs, not with the WLAN that is currently being accessed.
   The intended use of the SSID extensions is to help a peer determine
   the correct certificate to present when trying to gain access to a
   WLAN.  In most situations, including EAP-TLS, the peer will have the
   opportunity to validate the certificate provided by the EAP server
   before transmitting one of its own certificates to the EAP server.
   While the peer may not be sure that the EAP server has access to the
   corresponding private key until later in the protocol exchange, the
   identity information in the EAP server certificate can be used to
   determine whether or not the peer certificate ought to be provided.
   When the same peer certificate is used to authenticate to multiple
   WLANs, the list of SSIDs is available from servers associated with
   each WLAN.  Of course, the list of SSIDs is also made available to
   any eavesdroppers on the WLAN.  Whenever this SSID disclosure is a
   concern, different peer certificates ought to be used for the each
   WLAN.

   SSID values are unmanaged; therefore, SSIDs may not be unique.
   Hence, it is possible for peer certificates that are intended to be
   used with different WLANs to contain the same SSID.  In this case,
   automatic selection of the certificate will fail, and the
   implementation SHOULD obtain help from the user to choose the correct
   certificate.  If a human user is unavailable, each potential
   certificate MAY be tried until one succeeds, disclosing the list of
   SSIDs associated with each certificate, which might otherwise not be
   disclosed.  Therefore, it is RECOMMENDED that sequentially trying
   each certificate only be employed when user selection is unavailable
   or impractical.

   In practice, disclosure of the SSID is of little concern.  Some WLAN
   security experts recommend that the SSID be masked in the beacon sent
   out by Access Points (APs).  The intent is to make it harder for an
   attacker to find the correct AP to target.  However, other WLAN
   management messages include the SSID, so this practice only forces
   the attacker to eavesdrop on the WLAN management messages instead of
   the beacon.  Therefore, placing the SSID in the certificate does not
   make matters worse.

6. IANA Considerations

   Certificate extensions and extended key usage values are identified
   by object identifiers (OIDs).  The OIDs used in this document were
   assigned from an arc delegated by the IANA.  No further action by the
   IANA is necessary for this document or any anticipated updates.

7. References

7.1. Normative References

   [ACPROFILE] Farrell, S. and R. Housley, "An Internet Attribute
               Certificate Profile for Authorization", RFC 3281,
               April 2002.

   [PROFILE]   Housley, R., Polk, W., Ford, W., and D. Solo, "Internet
               X.509 Public Key Infrastructure: Certificate and
               Certificate Revocation List (CRL) Profile", RFC 3280,
               April 2002.

   [EAP]       Aboba, B., Blunk, L., Vollbrechtand, J., Carlson, J.,
               and H. Levkowetz, "Extensible Authentication Protocol
               (EAP)", RFC 3748, June 2004.

   [STDWORDS]  Bradner, S., "Key words for use in RFCs to Indicate
               Requirement Levels", BCP 14, RFC 2119, March 1997.

   [X.509]     ITU-T.  Recommendation X.509: The Directory -
               Authentication Framework.  2000.

   [X.680]     ITU-T Recommendation X.680: Information Technology -
               Abstract Syntax Notation One, 1997.

   [X.690]     ITU-T Recommendation X.660 Information Technology - ASN.1
               encoding rules: Specification of Basic Encoding Rules
               (BER), Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER), 1997.

7.2. Informative References

   [802.11]    IEEE Std 802.11, "Wireless LAN Medium Access
               Control (MAC) and Physical Layer (PHY) Specifications",
               1999.

   [802.1X]    IEEE Std 802.1X, "Port-based Network Access Control",
               2001.

   [EAP-TLS]   Aboba, B. and D. Simon, "PPP EAP TLS Authentication
               Protocol", RFC 2716, October 1999.

   [PPP]       Simpson, W., "The Point-to-Point Protocol (PPP)",
               STD 51, RFC 1661, July 1994.

   [RADIUS1]   Rigney, C., Willens, S., Rubens, A., and W. Simpson,
               "Remote Authentication Dial In User Service (RADIUS)",
               RFC 2865, June 2000.

   [RADIUS2]   Congdon, P., Aboba, B., Smith, A., Zorn, G., and J.
               Roese, "IEEE 802.1X Remote Authentication Dial In User
               Service (RADIUS) Usage Guidelines", RFC 3580, September
               2003.

8. ASN.1 Module

   WLANCertExtn
     { iso(1) identified-organization(3) dod(6) internet(1)
       security(5) mechanisms(5) pkix(7) id-mod(0)
       id-mod-wlan-extns2005(37) }

   DEFINITIONS IMPLICIT TAGS ::=
   BEGIN


   -- OID Arcs

   id-pe  OBJECT IDENTIFIER  ::=
      { iso(1) identified-organization(3) dod(6) internet(1)
        security(5) mechanisms(5) pkix(7) 1 }

   id-kp  OBJECT IDENTIFIER  ::=
      { iso(1) identified-organization(3) dod(6) internet(1)
        security(5) mechanisms(5) pkix(7) 3 }

   id-aca  OBJECT IDENTIFIER  ::=
      { iso(1) identified-organization(3) dod(6) internet(1)
        security(5) mechanisms(5) pkix(7) 10 }


   -- Extended Key Usage Values

   id-kp-eapOverPPP  OBJECT IDENTIFIER  ::=  { id-kp 13 }

   id-kp-eapOverLAN  OBJECT IDENTIFIER  ::=  { id-kp 14 }


   -- Wireless LAN SSID Extension

   id-pe-wlanSSID  OBJECT IDENTIFIER  ::=  { id-pe 13 }

   SSIDList  ::=  SEQUENCE SIZE (1..MAX) OF SSID

   SSID  ::=  OCTET STRING (SIZE (1..32))


   -- Wireless LAN SSID Attribute Certificate Attribute
   -- Uses same syntax as the certificate extension: SSIDList

   id-aca-wlanSSID  OBJECT IDENTIFIER ::= { id-aca 7 }

   END

Authors' Addresses

   Russell Housley
   Vigil Security, LLC
   918 Spring Knoll Drive
   Herndon, VA 20170
   USA

   EMail: housley@vigilsec.com


   Tim Moore
   Microsoft Corporation
   One Microsoft Way
   Redmond, WA 98052
   USA

   EMail: timmoore@microsoft.com

Full Copyright Statement

   Copyright (C) The Internet Society (2006).

   This document is subject to the rights, licenses and restrictions
   contained in BCP 78, and except as set forth therein, the authors
   retain all their rights.

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
   ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
   INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
   INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in BCP 78 and BCP 79.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   http://www.ietf.org/ipr.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at
   ietf-ipr@ietf.org.

Acknowledgement

   Funding for the RFC Editor function is provided by the IETF
   Administrative Support Activity (IASA).

AI ELI5

On this page
PROBLEMA device that holds several X.509 certificates has to pick the right one when it joins a PPP link or a wireless LAN, and without hints it needs the user to choose.
MECHANISMThe RFC defines two extended key usage values (EAP over PPP and EAP over LAN) and a certificate extension that lists up to 32-octet network names (SSIDs), so software can pick a certificate automatically.
WHY IT MATTERSIt is a Standards Track document that replaces RFC 3770 with small corrections, and it warns that SSIDs are not unique and are visible to eavesdroppers.

§1Why Certificates Need Labels

Several EAP (Extensible Authentication Protocol) methods use X.509 public key certificates. EAP-TLS, for example, can run over PPP, which is used for dial-up and VPN, or over IEEE 802.1X, which provides port-based network access control for Ethernet, Token Ring, wireless LANs and other IEEE 802 networks.

Picking the right client certificate automatically is highly desirable. Certificate extensions that name the intended environment reduce the need for user input and help separate the administration of certificates used in different environments.

The same wireless station might authenticate to a corporate WLAN and a public hotspot. If the two operators have no roaming agreement, the 802.1X supplicant has to choose a certificate for the network it is on, and a list of network names in the certificate makes that choice automatic.

If you carry a keyring with many badges, you do not want to guess which one opens each door. Labels on the badges let you pick the right one quickly.

§1.1Changes Since RFC 3770

This document is primarily the same as RFC 3770, which it obsoletes. It lists six significant changes:

  • The normative ASN.1 reference now matches RFC 3280, so both documents have the same dependencies.
  • The critical-bit discussion is aligned with RFC 3280, and the key usage discussion is expanded.
  • A typographical error in the object identifier of the WLAN SSID attribute certificate attribute is corrected.
  • The SSID extension may appear in certificates that have no extended key usage extension.
  • The terms peer, EAP Server and supplicant replace client and server.
  • The object identifier of the extended key usage extension is no longer repeated, because RFC 3280 lists it.

This is a cleaned-up second edition. It fixes a typo in a number and uses the same names for things as the other rulebooks.

§2EAP Extended Key Usage Values

RFC 3280 defines the extended key usage certificate extension, which lists the purposes the certified public key may be used for. This RFC adds two KeyPurposeId values: id-kp-eapOverPPP (id-kp 13) and id-kp-eapOverLAN (id-kp 14).

The first says the key suits a peer using EAP in the PPP environment. The second says it suits a peer using EAP in the LAN environment. Including both says the key suits either one.

The extension MAY be critical or non-critical, at the issuer's option. Applications MAY require it, and MAY require a particular value in it. If several values are present, the application need not recognise all of them as long as the one it needs is there.

If a certificate has both a key usage extension and an extended key usage extension, both MUST be processed independently. The certificate MUST only be used for a purpose consistent with both, and if no purpose is consistent with both it MUST NOT be used for any purpose.

Two stickers are defined: one says good for dial-up, the other says good for the local network. A badge can carry either or both, and you only need to find the sticker you care about.

§3The WLAN SSID Extension and Attribute

The WLAN SSID certificate extension holds a list of Service Set Identifiers, the network names of IEEE 802.11 WLANs. It is always non-critical, and the list MAY be used to select the right certificate for a particular WLAN. It is identified by id-pe-wlanSSID (id-pe 13).

Its syntax is SSIDList ::= SEQUENCE SIZE (1..MAX) OF SSID, where SSID ::= OCTET STRING (SIZE (1..32)). If the same certificate also carries an extended key usage extension, that extension MUST include id-kp-eapOverLAN.

When the public key certificate has no SSID extension, an attribute certificate can associate a list of SSIDs with it instead. The WLAN SSID attribute certificate attribute is identified by id-aca-wlanSSID (id-aca 7) and uses exactly the same SSIDList syntax.

The badge can also list the names of the Wi-Fi networks it is meant for. If the badge cannot hold the list, a separate note stapled to it can.

OBJECT IDENTIFIERS DEFINED IN RFC 4334
  • id-kp 13id-kp-eapOverPPP — Key is appropriate for EAP in the PPP environment.
  • id-kp 14id-kp-eapOverLAN — Key is appropriate for EAP in the LAN environment.
  • id-pe 13id-pe-wlanSSID — Certificate extension carrying a list of SSIDs.
  • id-aca 7id-aca-wlanSSID — Attribute certificate attribute carrying the same list.

§3.1Handling Duplicate Network Names

SSID values are unmanaged, so the same SSID can appear in certificates meant for different WLANs. When that happens, automatic selection fails and the implementation SHOULD ask the user to choose the correct certificate.

If no user is available, each candidate certificate MAY be tried until one succeeds. To reduce user involvement, an implementation can keep a cache of Access Point MAC addresses, or of the EAP server identity, with which a certificate has already authenticated successfully. The RFC notes that RADIUS is usually the authentication service in WLAN deployments.

If two badges both say Coffee Shop, you may have to ask which one is right, or try them one after another. Remembering which one worked last time saves effort.

§5Security Considerations

The certification authority MUST make sure the correct extended key usage and SSID values are put into each certificate. A wrong value could make a relying party reject a good certificate or accept one that ought to be rejected.

A certificate that lists several SSIDs reveals information about several WLANs, not only the one being accessed. In most situations, including EAP-TLS, the peer can validate the EAP server's certificate before sending its own, which helps it decide whether to present the certificate. The list of SSIDs is also visible to eavesdroppers on the WLAN, so where that is a concern, different peer certificates ought to be used for each WLAN.

Trying every certificate in turn discloses each one's SSID list, so that approach is RECOMMENDED only when user selection is unavailable or impractical. The RFC argues that SSID disclosure is of little concern in practice, because other WLAN management messages include the SSID even when the beacon masks it.

Anyone nearby can read the network names on your badge, so if that bothers you, use a different badge for each network.

§7References