Relative Content

Tag Archive for pythontwisted

How to use startTLS in Twisted?

I want to establish a non-encrypted connection to a server and then, upon sending an agreed-upon command, to switch to a TLS-encrpted connection. It seems that Twisted’s startTLS is meant exactly for this purpose – except I can’t make it to work, not even the very examples given in Twisted’s official documentation.

How to use startTLS in Twisted?

I want to establish a non-encrypted connection to a server and then, upon sending an agreed-upon command, to switch to a TLS-encrpted connection. It seems that Twisted’s startTLS is meant exactly for this purpose – except I can’t make it to work, not even the very examples given in Twisted’s official documentation.