<?xml version='1.0' encoding='utf-8'?>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- generated by https://github.com/cabo/kramdown-rfc2629 version 1.2.12 -->
<!DOCTYPE rfc SYSTEM "rfc2629-xhtml.ent">
<?rfc toc="yes"?>
<?rfc sortrefs="yes"?>
<?rfc symrefs="yes"?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-ietf-httpbis-http2-tls13-03" category="std" updates="7540" obsoletes="" submissionType="IETF" xml:lang="en" tocInclude="true" sortRefs="true" symRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 2.37.3 -->
  <front>
    <title>Using TLS 1.3 with HTTP/2</title>
    <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-http2-tls13-03"/>
    <author initials="D." surname="Benjamin" fullname="David Benjamin">
      <organization>Google LLC</organization>
      <address>
        <email>davidben@google.com</email>
      </address>
    </author>
    <date year="2019" month="October" day="17"/>
    <area>Applications and Real-Time</area>
    <workgroup>HTTP</workgroup>
    <abstract>
      <t>This document updates RFC 7540 by forbidding TLS 1.3 post-handshake
authentication, as an analog to the existing TLS 1.2 renegotiation restriction.</t>
    </abstract>
    <note>
      <name>Note to Readers</name>
      <t><em>RFC EDITOR: please remove this section before publication</em></t>
      <t>Discussion of this draft takes place on the HTTP working group mailing list
(ietf-http-wg@w3.org), which is archived at <eref target="https://lists.w3.org/Archives/Public/ietf-http-wg/">https://lists.w3.org/Archives/Public/ietf-http-wg/</eref>.</t>
      <t>Working Group information can be found at <eref target="https://httpwg.org/">https://httpwg.org/</eref>; source
code and issues list for this draft can be found at
<eref target="https://github.com/httpwg/http-extensions/labels/http2-tls13">https://github.com/httpwg/http-extensions/labels/http2-tls13</eref>.</t>
    </note>
  </front>
  <middle>
    <section anchor="introduction" numbered="true" toc="default">
      <name>Introduction</name>
      <t>TLS 1.2 <xref target="RFC5246" format="default"/> and earlier support renegotiation, a mechanism for changing
parameters and keys partway through a connection. This was sometimes used to
implement reactive client authentication in HTTP/1.1 <xref target="RFC7230" format="default"/>, where the
server decides whether to request a client certificate based on the HTTP
request.</t>
      <t>HTTP/2 <xref target="RFC7540" format="default"/> multiplexes multiple HTTP requests over a single connection,
which is incompatible with the mechanism above. Clients cannot correlate the
certificate request with the HTTP request which triggered it. Thus, Section
9.2.1 of <xref target="RFC7540" format="default"/> forbids renegotiation.</t>
      <t>TLS 1.3 <xref target="RFC8446" format="default"/> updates TLS 1.2 to remove renegotiation in favor of separate
post-handshake authentication and key update mechanisms. The former shares the
same problems with multiplexed protocols, but the prohibition in <xref target="RFC7540" format="default"/>
only applies to TLS 1.2 renegotiation.</t>
      <t>This document updates HTTP/2 to similarly forbid TLS 1.3 post-handshake
authentication.</t>
    </section>
    <section anchor="requirements-language" numbered="true" toc="default">
      <name>Requirements Language</name>
      <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
"SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in BCP 14 <xref target="RFC2119" format="default"/> <xref target="RFC8174" format="default"/>
when, and only when, they appear in all capitals, as shown here.</t>
    </section>
    <section anchor="post-handshake-authentication-in-http2" numbered="true" toc="default">
      <name>Post-Handshake Authentication in HTTP/2</name>
      <t>HTTP/2 servers MUST NOT send post-handshake TLS 1.3 CertificateRequest messages.
HTTP/2 clients MUST treat such messages as connection errors (see Section 5.4.1
of <xref target="RFC7540" format="default"/>) of type PROTOCOL_ERROR.</t>
      <t><xref target="RFC7540" format="default"/> permitted renegotiation before the HTTP/2 connection preface to
provide confidentiality of the client certificate. TLS 1.3 encrypts the client
certificate in the initial handshake, so this is no longer necessary. HTTP/2
servers MUST NOT send post-handshake TLS 1.3 CertificateRequest messages before
the connection preface.</t>
      <t>The above applies even if the client offered the <tt>post_handshake_auth</tt> TLS
extension. This extension is advertised independently of the selected ALPN
protocol <xref target="RFC7301" format="default"/>, so it is not sufficient to resolve the conflict with
HTTP/2. HTTP/2 clients that also offer other ALPN protocols, notably HTTP/1.1,
in a TLS ClientHello MAY include the <tt>post_handshake_auth</tt> extension to support
those other protocols. This does not indicate support in HTTP/2.</t>
    </section>
    <section anchor="other-post-handshake-tls-messages-in-http2" numbered="true" toc="default">
      <name>Other Post-Handshake TLS Messages in HTTP/2</name>
      <t><xref target="RFC8446" format="default"/> defines two other messages that are exchanged after the handshake is
complete, KeyUpdate and NewSessionTicket.</t>
      <t>KeyUpdate messages only affect TLS itself and do not require any interaction
with the application protocol. HTTP/2 implementations MUST support key updates
when TLS 1.3 is negotiated.</t>
      <t>NewSessionTicket messages are also permitted. Though these interact with HTTP
when early data is enabled, these interactions are defined in <xref target="RFC8470" format="default"/> and
allowed for in the design of HTTP/2.</t>
      <t>Unless the use of a new type of TLS message depends on an interaction with the
application-layer protocol, that TLS message can be sent after the handshake
completes.</t>
    </section>
    <section anchor="security-considerations" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>This document resolves a compatibility concern between HTTP/2 and TLS 1.3 when
supporting post-handshake authentication with HTTP/1.1. This lowers the barrier
for deploying TLS 1.3, a major security improvement over TLS 1.2.</t>
    </section>
    <section anchor="iana-considerations" numbered="true" toc="default">
      <name>IANA Considerations</name>
      <t>This document has no IANA actions.</t>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.5246.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.7230.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.7301.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.7540.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8446.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
      </references>
      <references>
        <name>Informative References</name>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8470.xml"/>
      </references>
    </references>
  </back>
  <!-- ##markdown-source:
H4sIAHHHqF0AA61Y73PbuBH9jr8CTb/c3UiyJTvNRe1kzme7Z09ly5Xl6XTa
jg8iVxLOFMECoBU1k/+9bwGQopT02g/NZCKQxI/dt2/fLtLv94XXvqCxfHK6
XMn55FEOB2dyq/1a3sznDycjkZusVBtMya1a+r4mv+yvva8W2oXfUd8XbnjW
Pz0TmfK0MnY3ls7noq5yPLuxfPf2/FQIXdmx9LZ2fnR6+v50JJQlNZYXVVVo
LNSmdFKVuZyRKvpzvSGxNfZlZU1djYMtQlR6LP/mTdaTzlhvaekw2m148A/h
PFY/q8KUsHVHTghV+7WxYyH7QsY/uoQ5VwP5I5W/qI0um/fRwSv1qvMvvhm7
UqX+V7BwLH8yZlWQnEwum++0UboAOrx4QeUPqzBjkJmNEKWxGyx8JRghZ3+8
HA2H79Pw7ej8d2n4bnR22gzPTofNEKil4ffnPFfocnm03/fn7zBHiH6/L9XC
easyL8R8rZ1E2OoNlV6mMPD0EAm52Enss9B53g15ZZzvrwGhW6sXCthhdYpM
TyoODv4C35X0RuKrpI/a+f0eI2mpRPy9DmvwBIN0xuNBNLE0np7v+R9vnhHn
nCzC9B1bdn11O5/OxrIqSDnC2o15JZwCTxyFPeSCYDbJql40hPlOiCvtsto5
/m6WcX7gqfTwwmE7lZHER7aXSSSZVGxzIJbk2PFTAU/ENy23+9vVD9uzAUL/
bU9u1zpbS2ysbLYG9rlUXv6Bp7nxyQmvdIM4+eQiznAnD8HIk+6GJx+Awl/S
6T+F09uAwsBMsYeITF0eHsC/21XY/sPvQfzaZiQyk1PIFu1cDT/ZCo5qF4Gj
HUW74wrZXS+YoWnz8NOnj55KRtKdFGpBhTvppPeHFMINaFOQEL+Vt6W3Jq9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