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

2017-08-22 Thread Thomas Hartwich
Yes, you're right for sure. As an alternative I tried to instantiate an object from twisted.internet._sslverify.OpenSSLCertificateOptions (as it is used by PrivateCertificate e.g.): co = OpenSSLCertificateOptions(privateKey=pkey,certificate=cert_obj) Despite it provides a SSL-context, it does n

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

2017-08-22 Thread Glyph
> On Aug 22, 2017, at 9:16 AM, Thomas Hartwich wrote: > > Yes, you're right for sure. As an alternative I tried to instantiate an > object from twisted.internet._sslverify.OpenSSLCertificateOptions (as it is > used by PrivateCertificate e.g.): > > co = OpenSSLCertificateOptions(privateKey=pke