[Twisted-Python] txsni + alpn + acme (letsencrypt)
Glyph
glyph at twistedmatrix.com
Sat Mar 23 21:58:46 MDT 2019
> On Mar 23, 2019, at 4:06 PM, Daniel Holth <dholth at gmail.com> wrote:
>
> HOLY REGEX BATMAN
>
> class _ConnectionProxy(object):
>
> def bio_write(self, buf):
> if ACME_TLS_1 in buf:
> self.acme_tls_1 = True
> self.bio_write = self._obj.bio_write
> return self._obj.bio_write(buf)
> Now we can choose the acme certificate store in the sni callback and
> make letsencrypt happy!
1. Gross
2. Hooray!
-g
More information about the Twisted-Python
mailing list