encoding problem

2009-06-27 Thread netpork
Hello,

I have ssl socket with server and client, on my development machine
everything works pretty well.
Database which I have to use is mssql on ms server 2003, so I decided
to install the same python config there and run my python server
script.

Now here is the problem, server is returning strange characters
although default encoding is the same on both development and server
machines.


Any hints?

Thanks in advance.
-- 
http://mail.python.org/mailman/listinfo/python-list


m2crypto loading cert file from memory buffer

2008-12-04 Thread netpork
started using m2crypto recently, it works pretty well by now, i just
have one question:

ctx = SSL.Context('sslv3')
ctx.load_cert_chain('client.pem')

anyone knows a way of loading cert file from memory buffer and not
from a file?
i just do not want to have my cert file in the directory of my app
that anyone can get.

--
http://mail.python.org/mailman/listinfo/python-list