https - 在 https 上扭曲

标签 https twisted

嗨,我有一个运行扭曲的应用程序。我希望它通过 https 而不是 http 运行。我在哪里可以找到一个很好的例子?

最佳答案

您只需使用 reactor.listenSSL而不是 reactor.listenTCP . http://twistedmatrix.com/documents/current/core/howto/ssl.html涵盖了 reactor.listenSSL 的基础知识.

关于https - 在 https 上扭曲,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5210527/

相关文章:

node.js - wss Lets加密 UNABLE_TO_GET_ISSUER_CERT

security - 通过 HTTP 发送 Web 表单例份验证数据的最佳方式是什么?

python - 如何在Python扭曲框架中统计当前连接的协议(protocol)数量

python - XmlStream.addObserver 中的 XPath 无法按应有的方式工作

python - 如何正确触发 python 扭曲传输?

python - 如何获取有关扭曲服务器内所有未处理异常的邮件报告?

ssl - ssl 在这两种方式上都是安全的吗?

ssl - WampServer HTTPS

ssl - IIS 7.5 SSL https - 调用其他站点时出现错误站点