RFC 9849 specifies Encrypted Client Hello (ECH), a way for clients (such as an ACME server performing validation) to mask the name of the server to which they are connecting. To do so, they first construct a ClientHello message as normal, containing all of the usual extensions, such as SNI and ALPN. Then they encrypt and encode this message as a "ClientHelloInner", and attach it as an extension on a "ClientHelloOuter". The ClientHelloOuter does not generally carry all the same extensions as the ClientHelloInner; to do so would be to defeat the purpose of encrypting the ClientHelloInner. In particular, RFC 9849 says that it "SHOULD place the value of ECHConfig.contents.public_name in the "server_name" extension".
RFC 8737 specifies the tls-alpn-01 challenge method for ACME servers to validate DNS names and IP addresses. As one of the steps during challenge validation, it says: "The ACME server MUST provide an ALPN extension with the single protocol name "acme-tls/1" and an SNI extension containing only the domain name being validated during the TLS handshake." The question is: does an ACME server which implements ECH during tls-alpn-01 violate RFC 8737? Arguments for "yes": - The ClientHello (outer) visible on the network does not contain an ALPN extension with the single protocol name "acme-tls/1". - The ClientHello (outer) visible on the network does not contain an SNI extension containing only the domain being validated, and in fact it does contain an SNI extension containing a *different* name. Arguments for "no": - The ACME server *does* provide such extensions, they're just inside the ClientHelloInner. - The point of ECH is to be as transparent as possible; by the time the server is deciding what certificate to present, all ECH processing has completed and the ClientHelloInner is what the server sees. Arguments both ways: - tls-alpn-01 was standardized before ECH, and neither took it into account by explicitly forbidding it nor by explicitly allowing it. Thank you for your thoughts, Aaron
_______________________________________________ Acme mailing list -- [email protected] To unsubscribe send an email to [email protected]
