Tls v1.2 support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyOpenSSL |
New
|
Undecided
|
Unassigned |
Bug Description
does pyopenssl support tls1.2 when built with openssl-1.0.1c
I need a python interface with openssl1.0.1c for a python client using tls1.2 method.
It it possible? .. if its not yet supported , how I enhance it?
Already tried this as root:
-installed openssl-
-added TLSv1_2_METHOD to ssl.c, context.h and context.c under pyOpenSSL-
- used pyOpenSSL-
- Install creates /usr/lib64/
Python client is:
**************
import sys, socket
from OpenSSL import SSL
s = socket.socket( socket.AF_INET, socket.SOCK_STREAM)
s.setsockopt(
ctx = SSL.Context(
ctx.use_
ctx.use_
ctx.load_
sock = SSL.Connection(ctx, s)
sock.connect(
sock.write(mesg)
****************
Error: /usr/lib64/
Can you check your code into a branch and link it to this ticket? Thanks.