Re: [Emu] EAP-TLS 1.3 Section 2.2 text

Oleg Pekar <oleg.pekar.2017@gmail.com> Mon, 17 May 2021 20:59 UTC

Return-Path: <oleg.pekar.2017@gmail.com>
X-Original-To: emu@ietfa.amsl.com
Delivered-To: emu@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ABFC23A44C1 for <emu@ietfa.amsl.com>; Mon, 17 May 2021 13:59:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.846
X-Spam-Level:
X-Spam-Status: No, score=-1.846 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uRSbOjVAMxz0 for <emu@ietfa.amsl.com>; Mon, 17 May 2021 13:59:06 -0700 (PDT)
Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 989013A44C0 for <emu@ietf.org>; Mon, 17 May 2021 13:59:06 -0700 (PDT)
Received: by mail-io1-xd2e.google.com with SMTP id a11so7275418ioo.0 for <emu@ietf.org>; Mon, 17 May 2021 13:59:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Co2MLp9AfEsDsDt+m3uFUWkzJKU6NmBRPPUtUM0CD1E=; b=a3QswwO1ky/jgrnNmcUzlOZ0/4iHy1mkXeBSNgnuHpEOEso/23Mw4LRnbQxmVP8hiF cg/peFXujz5Gl+gfaNfwhKkjuukUMoE9sWayy+tMHZ7MA6dwmgw7YfNBnfJ1GPcsZ6cp RkqSols3KgNjc65ix64geQuy4SnmOJLRYUTRXmgKj0Gz19hsKMflEg1++EcNm1kuxGTd mLVdQCoqV4wqSJX9s3PSmdhB8/0kzUkNzpgt0oOFicGtJyAIBLBT3c+X94HbCMV2D2Uq x/Fx/k76OxdrIsVzaYl9gF7yZMkvJ4WfbgyDsDBENX2pvGnJS8eUa3ri/iH5JD7MFHpV W1IA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Co2MLp9AfEsDsDt+m3uFUWkzJKU6NmBRPPUtUM0CD1E=; b=f8CjkDIT/hQMehZkXvP3FuwRkfpfL41dta7QH5uLjYa+5mxO+einWud+degPIubpS4 sXwzhw06xxDxs9xhAgoJee4cjjEOhAZuvcjkaayGlj5cITEHNaFqvCeSMCAEfku50Vbk 3gF3DLU/3Gfb3GEBhNN7CKyh3UGt0L7+BhsyD5vXexBafa+/PkB8O61tLRHlKfVVF9WJ ssa7jWxAl9mwrbW116cN/bkLIMseKjgPN/ic0OA1m4bmVkrIBp3wjf3z1+2rfjezabuE gE8smtFwAzBmOo4xedCirPUkXAlzhFyBPXG+lq+BOncCUgQ4Mpd02vUHTU/buc77l8qj 69XA==
X-Gm-Message-State: AOAM533lGlQA2Ooi513clCNWD/0CYrhSIJ7oxba72F6A164J955hJI6F mtHBTKTZH94RL8fnP15bwe1sy1rPoyFsY8d3Wq3SEF6H3zc=
X-Google-Smtp-Source: ABdhPJxOD8qU5jKotwlEX/xPY0fbLcBUaSpeDvaAszrmFLC8y8mLzJf6cjw65/3HoF9Hk19Y+y5+8KTxYLJut6gu0fo=
X-Received: by 2002:a02:a918:: with SMTP id n24mr1863325jam.125.1621285144911; Mon, 17 May 2021 13:59:04 -0700 (PDT)
MIME-Version: 1.0
References: <CAOgPGoBDcbDxGB3_Qy_xXymhnxrfMaOPNP545eMh8XLvU6OX+A@mail.gmail.com> <92D9824F-82C2-440F-807F-7B4799DCF1B6@deployingradius.com> <CAOgPGoAd3CcaqPYd0aYXBDtCmv32T8hpGH+6ysEn7Pi9M+FSiw@mail.gmail.com> <4698EFD4-83B5-4B77-93E8-0E12FE8BC2DD@vigilsec.com>
In-Reply-To: <4698EFD4-83B5-4B77-93E8-0E12FE8BC2DD@vigilsec.com>
From: Oleg Pekar <oleg.pekar.2017@gmail.com>
Date: Mon, 17 May 2021 23:58:53 +0300
Message-ID: <CABXxEz-Jzfd4_8=bx8DquchkQVj8Hf07m0U8tYWO9-rFtBjqBw@mail.gmail.com>
To: Russ Housley <housley@vigilsec.com>, EMU WG <emu@ietf.org>, Joe Salowey <joe@salowey.net>
Content-Type: multipart/alternative; boundary="00000000000024669b05c28cddf8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/emu/Mu0vmDecJWF-Hy9ZfMSoChLhlko>
Subject: Re: [Emu] EAP-TLS 1.3 Section 2.2 text
X-BeenThere: emu@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "EAP Methods Update \(EMU\)" <emu.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/emu>, <mailto:emu-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/emu/>
List-Post: <mailto:emu@ietf.org>
List-Help: <mailto:emu-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/emu>, <mailto:emu-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 May 2021 20:59:12 -0000

To section: 2.2.  Identity Verification

1)
If server name matching is not used, then peers may end up trusting
   servers for EAP authentication that are not intended to be EAP
   servers for the network.

-- comment:
What is meant by "EAP server for the network"?

2)
EAP peer implementations SHOULD allow users to configuring a unique trust
root (CA certificate)

-- comment:
Should say "a unique trusted root" in conformance with the other occurrence.

3)
To facilitate SAN matching, EAP Server
   certificates can include the same name in the list of SANs for each
   certificate that represents the EAP-TLS servers.

-- comment:
Could you please clarify the idea of adding the same name to SAN of
multiple certificates, since some EAP-TLS server certificates are just
generic certificates and their SAN DNS and IP fields may contain the unique
value per server instance.

Regards,
Oleg

On Mon, May 17, 2021 at 7:06 PM Russ Housley <housley@vigilsec.com> wrote:

> Nit: RFC 5280 (see Section 4.2.1.6) talks about the subject alternative
> name extension, which as an ASN.1 definition for SubjectAltName.  So,
> please do not refer to subjectAlternativeName.
>
> Russ
>
>
> On May 15, 2021, at 8:21 PM, Joseph Salowey <joe@salowey.net> wrote:
>
> I proposed a PR#72
> <https://github.com/emu-wg/draft-ietf-emu-eap-tls13/pull/72> based on
> this suggestion. The resulting text for the section is below.  Please
> review to see if it is OK.
>
> Thanks,
>
> Joe
>
> 2.2.  Identity Verification
>
>    This section updates Section 2.2 of [RFC5216].
>
>    The EAP peer identity provided in the EAP-Response/Identity is not
>    authenticated by EAP-TLS.  Unauthenticated information SHALL NOT be
>    used for accounting purposes or to give authorization.  The
>    authenticator and the EAP-TLS server MAY examine the identity
>    presented in EAP-Response/Identity for purposes such as routing and
>    EAP method selection.  EAP-TLS servers MAY reject conversations if
>    the identity does not match their policy.  Note that this also
>    applies to resumption, see Sections 2.1.3, 5.6, and 5.7.
>
>    The EAP server identity in the TLS server certificate is typically a
>    fully qualified domain name (FQDN).  EAP peer implementations SHOULD
>    allow users to configure a unique trust root (CA certificate) and a
>    server name to authenticate the server certificate and match the
>    subjectAlternativeName (SAN) extension in the server certificate with
>    the configured server name.  EAP-TLS deployments will often use more
>    than one EAP server.  In this case each EAP server may have a
>    different certificate.  To facilitate SAN matching, EAP Server
>    certificates can include the same name in the list of SANs for each
>    certificate that represents the EAP-TLS servers.  EAP-TLS peers
>    SHOULD allow for the configuration of multiple EAP server names since
>    deployments may choose to use multiple EAP servers each with their
>    own certificate.  If server name matching is not used, then peers may
>    end up trusting servers for EAP authentication that are not intended
>    to be EAP servers for the network.  If name matching is not used with
>    a public root CA, then effectively any server can obtain a
>    certificate which will be trusted for EAP authentication by the Peer.
>
>
>    The process of configuring a root CA certificate and a server name is
>    non-trivial and therefore automated methods of provisioning are
>    RECOMMENDED.  For example, the eduroam federation [RFC7593] provides
>    a Configuration Assistant Tool (CAT) to automate the configuration
>    process.  In the absence of a trusted root CA certificate (user
>    configured or system-wide), EAP peers MAY implement a trust on first
>    use (TOFU) mechanism where the peer trusts and stores the server
>    certificate during the first connection attempt.  The EAP peer
>    ensures that the server presents the same stored certificate on
>    subsequent interactions.  Use of a TOFU mechanism does not allow for
>    the server certificate to change without out-of-band validation of
>    the certificate and is therefore not suitable for many deployments
>    including ones where multiple EAP servers are deployed for high
>    availability.
>
>
> On Mon, May 10, 2021 at 5:11 AM Alan DeKok <aland@deployingradius.com>
> wrote:
>
>> On May 9, 2021, at 9:16 PM, Joseph Salowey <joe@salowey.net> wrote:
>> > [Joe]  This is a good question.  There are multiple ways this could be
>> addressed.  All servers should have one of their list of SANs that matches
>> the name used for EAP servers.  Another option is for supplicants to allow
>> for the configuration of multiple certificates or allow for a wild card
>> match.
>>
>>   FWIW, wpa_supplicant has a list of allowed host names for SAN.  I don't
>> think it allows wildcards.
>>
>> >   How about this text addition:
>> >
>> > "EAP-TLS deployments will often use more than one EAP server.  In this
>> case each EAP server may have a different certificate.  To facilitate the
>> SAN matching, EAP Server certificates can include the same name in the list
>> of SANs for each certificate that represents the EAP-TLS servers.  EAP-TLS
>> peers SHOULD allow for the configuration of multiple EAP server names since
>> deployments may choose to use multiple EAP servers each with their own
>> certificate."
>>
>>   That's good.
>>
>> > [Joe] Is your comment about HA and the TOFU mechanism?  I'm not really
>> sure how the TOFU mechanism is supposed to work and be secure.  Perhaps we
>> should remove the TOFU mechanism text or state that it does not work well
>> in all HA configurations (where different servers use different
>> certificates)
>>
>>   Perhaps just state that it does not work well in HA configurations.
>>
>>   I don't think TOFU can be secure here.
>>
>>   Alan DeKok.
>>
>> _______________________________________________
> Emu mailing list
> Emu@ietf.org
> https://www.ietf.org/mailman/listinfo/emu
>
>
> _______________________________________________
> Emu mailing list
> Emu@ietf.org
> https://www.ietf.org/mailman/listinfo/emu
>