Re: txsni + alpn + acme (letsencrypt)

Daniel Holth <[email protected]> Sat, 23 Mar 2019 19:06:29 -0400
Newsgroups gmane.comp.python.twisted
Message-ID <CAG8k2+4F2wwZz9TT_xGnUzcOcc0_DAHkhWScLBE3bXNXXd=Rcg@mail.gmail.com>
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!

_______________________________________________
Twisted-Python mailing list
[email protected]
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python