News for hackers. Stuff that matters.
Re:Preparing Rustls for Wider Adoption by sleevi on Tuesday April 20, 2021 @12:56PM (#26877270)
Using (defined) properties of the TLS ClientHello to determine how the server will respond.

For example, changing the certificate used based on the ALPN identity, the SNI server host, and the advertised client ciphersuites.

Re:Preparing Rustls for Wider Adoption by Tobu on Wednesday April 21, 2021 @01:57AM (#26885885)
I've been doing this by implementing ResolvesServerCert, which has access to the ClientHello. It covers the acme alpn use case.

Though you can't use it to pick other properties, like making an ALPN protocol conditional on SNI.