Hello all,
I'm trying to run test/py/TestServer.py with SSL. When I ran this, I get
following error.
chamila@chamila-Aspire-5742:~/gsoc/1/thrift/test$ py/TestServer.py
--proto=binary --port=9090 --genpydir=py/gen-py TSimpleServer --ssl
Traceback (most recent call last):
File "py/TestServer.py", line 220, in <module>
transport = TSSLSocket.TSSLServerSocket(host, options.port,
certfile='../keys/server.pem')
File
"py/../../lib/py/build/lib.linux-x86_64-2.7/thrift/transport/TSSLSocket.py",
line 182, in __init__
self.setCertfile(certfile)
File
"py/../../lib/py/build/lib.linux-x86_64-2.7/thrift/transport/TSSLSocket.py",
line 195, in setCertfile
raise IOError('No such certfile found: %s' % (certfile))
IOError: No such certfile found: ../keys/server.pem
Any idea on what is wrong here? I have server.pem at test/keys.
Thank You!
--
*Chamila Dilshan Wijayarathna,*
SMIEEE, SMIESL,
Undergraduate,
Department of Computer Science and Engineering,
University of Moratuwa.