Message302088
You have to enable the protocols by applying a reverse bitmask to SSLContext.options:
ctx = ssl.SSLContext(ssl.PROTOCOL_TLS)
ctx.load_cert_chain('server.pem')
ctx.options &= ~(ssl.OP_NO_TLSv1 | ssl.OP_NO_TLSv1_1)
sslsock = ctx.wrap_socket(s, server_side=True) |
|
Date |
User |
Action |
Args |
2017-09-13 16:16:33 | christian.heimes | set | recipients:
+ christian.heimes, Alex Gaynor, adrianv |
2017-09-13 16:16:33 | christian.heimes | set | messageid: <1505319393.07.0.354116557411.issue31453@psf.upfronthosting.co.za> |
2017-09-13 16:16:33 | christian.heimes | link | issue31453 messages |
2017-09-13 16:16:33 | christian.heimes | create | |
|