<?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.9 -->

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
]>

<?rfc toc="yes"?>
<?rfc sortrefs="yes"?>
<?rfc symrefs="yes"?>

<rfc ipr="trust200902" docName="draft-ietf-acme-ip-08" category="std">

  <front>
    <title abbrev="ACME-IP">ACME IP Identifier Validation Extension</title>

    <author initials="R.B." surname="Shoemaker" fullname="Roland Bracewell Shoemaker">
      <organization abbrev="ISRG">Internet Security Research Group</organization>
      <address>
        <email>roland@letsencrypt.org</email>
      </address>
    </author>

    <date year="2019" month="October" day="01"/>

    <area>General</area>
    <workgroup>ACME Working Group</workgroup>
    

    <abstract>


<t>This document specifies identifiers and challenges required to enable the Automated Certificate Management Environment (ACME) to issue certificates for IP addresses.</t>



    </abstract>


  </front>

  <middle>


<section anchor="introduction" title="Introduction">

<t>The Automatic Certificate Management Environment (ACME) <xref target="RFC8555"/> only defines challenges for validating control of DNS host name identifiers, which limits its use to being used for issuing certificates for DNS identifiers. In order to allow validation of IPv4 and IPv6 identifiers for inclusion in X.509 certificates, this document specifies how challenges defined in the original ACME specification and the TLS-ALPN extension specification <xref target="I-D.ietf-acme-tls-alpn"/> can be used to validate IP identifiers.</t>

</section>
<section anchor="terminology" title="Terminology">

<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"/> <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shown here.</t>

</section>
<section anchor="ip-identifier" title="IP Identifier">

<t><xref target="RFC8555"/> only defines the identifier type “dns”, which is used to refer to fully qualified domain names. If an ACME server wishes to request proof that a user controls a IPv4 or IPv6 address, it MUST create an authorization with the identifier type “ip”. The value field of the identifier MUST contain the textual form of the address as defined in <xref target="RFC1123"/> Section 2.1 for IPv4 and in <xref target="RFC5952"/> Section 4 for IPv6.</t>

<t>An identifier for the IPv6 address 2001:db8::1 would be formatted like so:</t>

<figure><artwork><![CDATA[
{"type": "ip", "value": "2001:db8::1"}
]]></artwork></figure>

</section>
<section anchor="identifier-validation-challenges" title="Identifier Validation Challenges">

<t>IP identifiers MAY be used with the existing “http-01” (see Section 8.3 of <xref target="RFC8555"/>) and “tls-alpn-01” (see Section 3 of <xref target="I-D.ietf-acme-tls-alpn"/>). To use IP identifiers with these challenges, their initial DNS resolution step MUST be skipped, and the IP address used for validation MUST be the value of the identifier.</t>

</section>
<section anchor="http-challenge" title="HTTP Challenge">

<t>For the “http-01” challenge, the Host header field MUST be set to the IP address being used for validation per <xref target="RFC7230"/>. The textual form of this address MUST be as defined in <xref target="RFC1123"/> Section 2.1 for IPv4 and in <xref target="RFC5952"/> Section 4 for IPv6.</t>

</section>
<section anchor="tls-with-application-level-protocol-negotiation-tls-alpn-challenge" title="TLS with Application Level Protocol Negotiation (TLS ALPN) Challenge">

<t>For the “tls-alpn-01” challenge, the subjectAltName extension in the validation certificate MUST contain a single iPAddress that matches the address being validated. As <xref target="RFC6066"/> does not permit IP addresses to be used in the SNI extension HostName field, the server MUST instead use the IN-ADDR.ARPA <xref target="RFC1034"/> or IP6.ARPA <xref target="RFC3596"/> reverse mapping of the IP address as the HostName field value instead of the IP address string representation itself. For example, if the IP address being validated is 2001:db8::1, the SNI HostName field should contain “1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa”.</t>

</section>
<section anchor="dns-challenge" title="DNS Challenge">

<t>The existing “dns-01” challenge MUST NOT be used to validate IP identifiers.</t>

</section>
<section anchor="iana-considerations" title="IANA Considerations">

<section anchor="identifier-types" title="Identifier Types">

<t>Adds a new type to the “ACME Identifier Types” registry defined in Section 9.7.7 of <xref target="RFC8555"/> with Label “ip” and Reference “I-D.ietf-acme-ip”.</t>

</section>
<section anchor="challenge-types" title="Challenge Types">

<t>Adds two new entries to the “ACME Validation Methods” registry defined in Section 9.7.8 of <xref target="RFC8555"/>. These entries are defined below:</t>

<texttable>
      <ttcol align='left'>Label</ttcol>
      <ttcol align='left'>Identifier Type</ttcol>
      <ttcol align='left'>ACME</ttcol>
      <ttcol align='left'>Reference</ttcol>
      <c>http-01</c>
      <c>ip</c>
      <c>Y</c>
      <c>I-D.ietf-acme-ip</c>
      <c>tls-alpn-01</c>
      <c>ip</c>
      <c>Y</c>
      <c>I-D.ietf-acme-ip</c>
</texttable>

</section>
</section>
<section anchor="security-considerations" title="Security Considerations">

<t>The extensions to ACME described in this document do not deviate from the broader threat model described in <xref target="RFC8555"/> Section 10.1.</t>

<section anchor="ca-policy-considerations" title="CA Policy Considerations">

<t>This document only specifies how a ACME server may validate that a certificate applicant controls a IP identifier at the time of validation. The CA may wish to perform additional checks not specified in this document. For example, if the CA believes an IP identifier belongs to a ISP or cloud service provider with short delegation periods, they may wish to impose additional restrictions on certificates requested for that identifier.</t>

</section>
</section>
<section anchor="acknowledgments" title="Acknowledgments">

<t>The author would like to thank those who contributed to this document and offered editorial and technical input, especially Jacob Hoffman-Andrews and Daniel McCarney.</t>

</section>


  </middle>

  <back>

    <references title='Normative References'>





<reference  anchor="RFC1034" target='https://www.rfc-editor.org/info/rfc1034'>
<front>
<title>Domain names - concepts and facilities</title>
<author initials='P.V.' surname='Mockapetris' fullname='P.V. Mockapetris'><organization /></author>
<date year='1987' month='November' />
<abstract><t>This RFC is the revised basic definition of The Domain Name System.  It obsoletes RFC-882.  This memo describes the domain style names and their used for host address look up and electronic mail forwarding.  It discusses the clients and servers in the domain name system and the protocol used between them.</t></abstract>
</front>
<seriesInfo name='STD' value='13'/>
<seriesInfo name='RFC' value='1034'/>
<seriesInfo name='DOI' value='10.17487/RFC1034'/>
</reference>



<reference  anchor="RFC1123" target='https://www.rfc-editor.org/info/rfc1123'>
<front>
<title>Requirements for Internet Hosts - Application and Support</title>
<author initials='R.' surname='Braden' fullname='R. Braden' role='editor'><organization /></author>
<date year='1989' month='October' />
<abstract><t>This RFC is an official specification for the Internet community.  It incorporates by reference, amends, corrects, and supplements the primary protocol standards documents relating to hosts.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='STD' value='3'/>
<seriesInfo name='RFC' value='1123'/>
<seriesInfo name='DOI' value='10.17487/RFC1123'/>
</reference>



<reference  anchor="RFC2119" target='https://www.rfc-editor.org/info/rfc2119'>
<front>
<title>Key words for use in RFCs to Indicate Requirement Levels</title>
<author initials='S.' surname='Bradner' fullname='S. Bradner'><organization /></author>
<date year='1997' month='March' />
<abstract><t>In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized. This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='2119'/>
<seriesInfo name='DOI' value='10.17487/RFC2119'/>
</reference>



<reference  anchor="RFC3596" target='https://www.rfc-editor.org/info/rfc3596'>
<front>
<title>DNS Extensions to Support IP Version 6</title>
<author initials='S.' surname='Thomson' fullname='S. Thomson'><organization /></author>
<author initials='C.' surname='Huitema' fullname='C. Huitema'><organization /></author>
<author initials='V.' surname='Ksinant' fullname='V. Ksinant'><organization /></author>
<author initials='M.' surname='Souissi' fullname='M. Souissi'><organization /></author>
<date year='2003' month='October' />
<abstract><t>This document defines the changes that need to be made to the Domain Name System (DNS) to support hosts running IP version 6 (IPv6).  The changes include a resource record type to store an IPv6 address, a domain to support lookups based on an IPv6 address, and updated definitions of existing query types that return Internet addresses as part of additional section processing.  The extensions are designed to be compatible with existing applications and, in particular, DNS implementations themselves.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='STD' value='88'/>
<seriesInfo name='RFC' value='3596'/>
<seriesInfo name='DOI' value='10.17487/RFC3596'/>
</reference>



<reference  anchor="RFC5952" target='https://www.rfc-editor.org/info/rfc5952'>
<front>
<title>A Recommendation for IPv6 Address Text Representation</title>
<author initials='S.' surname='Kawamura' fullname='S. Kawamura'><organization /></author>
<author initials='M.' surname='Kawashima' fullname='M. Kawashima'><organization /></author>
<date year='2010' month='August' />
<abstract><t>As IPv6 deployment increases, there will be a dramatic increase in the need to use IPv6 addresses in text.  While the IPv6 address architecture in Section 2.2 of RFC 4291 describes a flexible model for text representation of an IPv6 address, this flexibility has been causing problems for operators, system engineers, and users.  This document defines a canonical textual representation format.  It does not define a format for internal storage, such as within an application or database.  It is expected that the canonical format will be followed by humans and systems when representing IPv6 addresses as text, but all implementations must accept and be able to handle any legitimate RFC 4291 format.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='5952'/>
<seriesInfo name='DOI' value='10.17487/RFC5952'/>
</reference>



<reference  anchor="RFC6066" target='https://www.rfc-editor.org/info/rfc6066'>
<front>
<title>Transport Layer Security (TLS) Extensions: Extension Definitions</title>
<author initials='D.' surname='Eastlake 3rd' fullname='D. Eastlake 3rd'><organization /></author>
<date year='2011' month='January' />
<abstract><t>This document provides specifications for existing TLS extensions.  It is a companion document for RFC 5246, &quot;The Transport Layer Security (TLS) Protocol Version 1.2&quot;.  The extensions specified are server_name, max_fragment_length, client_certificate_url, trusted_ca_keys, truncated_hmac, and status_request.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='6066'/>
<seriesInfo name='DOI' value='10.17487/RFC6066'/>
</reference>



<reference  anchor="RFC7230" target='https://www.rfc-editor.org/info/rfc7230'>
<front>
<title>Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</title>
<author initials='R.' surname='Fielding' fullname='R. Fielding' role='editor'><organization /></author>
<author initials='J.' surname='Reschke' fullname='J. Reschke' role='editor'><organization /></author>
<date year='2014' month='June' />
<abstract><t>The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems.  This document provides an overview of HTTP architecture and its associated terminology, defines the &quot;http&quot; and &quot;https&quot; Uniform Resource Identifier (URI) schemes, defines the HTTP/1.1 message syntax and parsing requirements, and describes related security concerns for implementations.</t></abstract>
</front>
<seriesInfo name='RFC' value='7230'/>
<seriesInfo name='DOI' value='10.17487/RFC7230'/>
</reference>



<reference  anchor="RFC8174" target='https://www.rfc-editor.org/info/rfc8174'>
<front>
<title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
<author initials='B.' surname='Leiba' fullname='B. Leiba'><organization /></author>
<date year='2017' month='May' />
<abstract><t>RFC 2119 specifies common key words that may be used in protocol  specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the  defined special meanings.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='8174'/>
<seriesInfo name='DOI' value='10.17487/RFC8174'/>
</reference>



<reference  anchor="RFC8555" target='https://www.rfc-editor.org/info/rfc8555'>
<front>
<title>Automatic Certificate Management Environment (ACME)</title>
<author initials='R.' surname='Barnes' fullname='R. Barnes'><organization /></author>
<author initials='J.' surname='Hoffman-Andrews' fullname='J. Hoffman-Andrews'><organization /></author>
<author initials='D.' surname='McCarney' fullname='D. McCarney'><organization /></author>
<author initials='J.' surname='Kasten' fullname='J. Kasten'><organization /></author>
<date year='2019' month='March' />
<abstract><t>Public Key Infrastructure using X.509 (PKIX) certificates are used for a number of purposes, the most significant of which is the authentication of domain names.  Thus, certification authorities (CAs) in the Web PKI are trusted to verify that an applicant for a certificate legitimately represents the domain name(s) in the certificate.  As of this writing, this verification is done through a collection of ad hoc mechanisms.  This document describes a protocol that a CA and an applicant can use to automate the process of verification and certificate issuance.  The protocol also provides facilities for other certificate management functions, such as certificate revocation.</t></abstract>
</front>
<seriesInfo name='RFC' value='8555'/>
<seriesInfo name='DOI' value='10.17487/RFC8555'/>
</reference>



<reference anchor="I-D.ietf-acme-tls-alpn">
<front>
<title>ACME TLS ALPN Challenge Extension</title>

<author initials='R' surname='Shoemaker' fullname='Roland Shoemaker'>
    <organization />
</author>

<date month='September' day='5' year='2019' />

<abstract><t>This document specifies a new challenge for the Automated Certificate Management Environment (ACME) protocol which allows for domain control validation using TLS.</t></abstract>

</front>

<seriesInfo name='Internet-Draft' value='draft-ietf-acme-tls-alpn-06' />
<format type='TXT'
        target='http://www.ietf.org/internet-drafts/draft-ietf-acme-tls-alpn-06.txt' />
</reference>




    </references>




  </back>

<!-- ##markdown-source:
H4sIALyOk10AA7VYUXPbuBF+569AlZdkxuJYduzYeqpi+xLd2LIqO21vOp0O
REIiagrgAZAV1fb99vsWAClS9s1cHqpMIogkFrvffvvtMv1+P3HSlWLIeqOL
mys2nrJxLpSTCykM+zsvZc6d1IpdfXdCWax6CZ/PjXgcMtrQH0+TXGeKr2Ai
N3zh+lK4RZ9nK9GXVf/wLMm4E0tttkNmXZ4ksjJD5szauqPDw/PDo4QbwYfs
i1DC8DLZaPOwNHpdBfvsH/gt1ZJ9oWtJYh1X+X94qRXO2wqbVHLI/uV0dsCs
Ns6IhcVqu6LFv5OEr12hzTBh/YThI5UdslnKPqfsrtBixR+E8TeC/zNdwjr7
bHgmNqIs9x7SZjlkY+WEUcKxO5GtjXRbNhNWcJMV0UV6skZofDf74i/AiiyH
zPgD/loKZ4XKzLZyKYwmidJmBZgfBTxls58uBofHH+vl4Og4Lo8Gg/O4PD45
P43Lk/OTo7g8PTytr346Oj6My7PBp9rY2cnJCS3H/ct0lyZX2j4vKzVMkn6/
D+etAwIuSe4LaRmyu16BEcxWIiNaWCYbhlhGgGUFL0uhlrhlxK9raUTOnGZC
8XkpmCsEG62dRoS4fiEMbSVSsBuu+FJ441fqURqt/Po9Jf4DWZDWrgXLdlss
W2hDJOV5boS1wqbB6ZXM81IkyTtKkNH5OiPWUgjN4TL7gcOfniJcLy9Mq3LL
crGQCue3YiVXHmOFgKGZppNLphfscnLHCm2d51UbrgO2KSSoUsqVdAASf9dW
UKhzQTbwI/d2KXJvdD92Mt0ymCJeEDN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