On Wed, 30 Aug 2006 17:12:02 +0100, Phil Mayers firstname.lastname@example.org wrote:
I want a line-oriented protocol to listen on an SSL port, and I want client certificate authentication for this.
How do I specify this:
No: use strports when you want to present strings of this form as a user-interface element, not otherwise.
To programatically configure an SSL server which requires a client certificate use something like this:
from twisted.internet import ssl, reactor reactor.listenSSL(4443, f, ssl.CertificateOptions())
Unlike the older ContextFactory classes, CertificateOptions has somewhat more modern requirements not dictated by HTTP. Specifically, the method is TLSv1 and certificates are required.