【问题标题】:service_identity installed but not workingservice_identity 已安装但无法正常工作
【发布时间】:2018-01-22 01:16:22
【问题描述】:

在 root 下我运行了 pip3 install service_identityeasy_install service_identity

两者均已成功安装,但仍显示警告且客户端无法连接。 他们在握手之前关闭。

全面警告

:0: UserWarning: 您没有安装 service_identity >module: 'No module named 'cryptography.x509''。请从https://pypi.python.org/pypi/service_identity 安装它,并确保它的所有 > 依赖项都得到满足。如果没有 service_identity 模块,Twisted 只能执行基本的 TLS 客户端主机名验证。许多有效的>证书/主机名映射可能会被拒绝。

【问题讨论】:

  • 需要更多的警告细节。
  • 向详细信息添加警告

标签: python-3.x ssl websocket autobahn


【解决方案1】:

修复了以下内容,

pip3 install cryptography

pip3 install cffi --upgrade

pip3 install service_identity --upgrade

pip3 install pyopenssl --upgrade

【讨论】:

猜你喜欢
  • 2011-12-18
  • 2017-10-05
  • 2015-02-05
  • 2015-03-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多