Re: [Twisted-Python] SSLContext not valid for TLS Server

2017-08-25 Thread Cory Benfield
This is a somewhat-known issue that I’ve had bubbling on the backburner for some time. For a long time PyOpenSSL didn’t automatically load all EC curves and didn’t provide any API to do so, so Twisted told OpenSSL which curve to use. Some time ago PyOpenSSL changed this behaviour to automaticall

Re: [Twisted-Python] SSLContext not valid for TLS Server

2017-08-25 Thread Amber Hawkie Brown
A quick git blame says that it landed in https://github.com/pyca/pyopenssl/commit/6c6bf865acdd3c5ca5f47b1dbc2903023fd286b6 , which exists in 17.0.0+. We require 16.0.0+, so it ought to be a relatively simple ver

[Twisted-Python] HTTP/2 and getPeerCertificate

2017-08-25 Thread Lance Kurisaki
With HTTP/1.1, I used to be able to call request.transport.getPeerCertificate(). When the client uses HTTP/2, however, it seems that request.transport is None. How does one access the transport with HTTP/2? Thank you...            Lance___ Twisted-Pyth