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

2017-08-28 Thread Thomas Hartwich
not valid for TLS Server > On 27 Aug 2017, at 09:44, Thomas Hartwich wrote: > > = >> The most comprehensive fix here is to do some history spelunking in >> PyOpenSSL to find out what the lowest version is that has this code block[1] >> in it, and then only execute the

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

2017-08-27 Thread Thomas Hartwich
I have the current versions of Twisted and pyOpenSSL running, so how can I make sure that the latter loads the right curve properly? Thank you! > On 24 Aug 2017, at 20:40, Thomas Hartwich wrote: > > I think I now know why it is not working. As I initially suspected that ECC > could

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

2017-08-24 Thread Thomas Hartwich
that twisted accepts other curves than prime256v1? Thank you!   Gesendet: Mittwoch, 23. August 2017 um 06:21 Uhr Von: Glyph An: "Twisted general discussion" Betreff: Re: [Twisted-Python] SSLContext not valid for TLS Server   On Aug 22, 2017, at 9:16 AM, Thomas Hartwich mailto:c

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

2017-08-22 Thread Thomas Hartwich
h An: "Twisted general discussion" Betreff: Re: [Twisted-Python] SSLContext not valid for TLS Server   On Aug 20, 2017, at 9:30 AM, Thomas Hartwich mailto:ceebor...@gmx.de]> wrote:   Ok, I finally got a solution for my problem. As I know, the TLS server was working with DefaultOpenSSL

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

2017-08-20 Thread Thomas Hartwich
 Ok, I finally got a solution for my problem. As I know, the TLS server was working with DefaultOpenSSLContextFactory but this only takes file paths to private key/certificate, I created my own SSL-Context file. For anybody who has the same problem: class MySSLContext(ssl.ContextFactory):

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

2017-08-19 Thread Thomas Hartwich
Again as text mail... sorry! Ok, let me try to provide some detailled information, hope it helps: > openssl version -a: OpenSSL 1.1.0f 25 May 2017 built on: reproducible build, date unspecified platform: linux-x86_64 compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL

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

2017-08-19 Thread Thomas Hartwich
Ok, let me try to provide some detailled information, hope it helps:   > openssl version -a: OpenSSL 1.1.0f  25 May 2017 built on: reproducible build, date unspecified platform: linux-x86_64 compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL