【问题标题】:How do I upgrade Stripe for TLS 1.2如何为 TLS 1.2 升级 Stripe
【发布时间】:2016-12-21 10:18:17
【问题描述】:

我正在使用 Python 的 Stripe 模块(通过 pip install stripe),我收到以下错误:

AuthenticationError: Request req_90h0QUDIec0Ej7: Stripe no longer 
supports API requests made with TLS 1.0. Please initiate HTTPS 
connections with TLS 1.2 or later. You can learn more about this at 
https://stripe.com/blog/upgrading-tls.

按照 Stripe 的文档,他们说您应该重新安装 Python(通过 brew)并升级到最新版本的 Stripe 库(撰写本文时为 1.37.0)。我已经完成了这两个步骤,但这并没有什么不同。

我还能做什么?

【问题讨论】:

    标签: python stripe-payments tls1.2


    【解决方案1】:

    你可以试试这个 您可以在 https://www.ssllabs.com/ssltest/ 处查看服务器上运行的 TLS 版本

    如果您的结果显示 TLS 版本 1.2 为 NO,那么您必须根据您正在运行的服务器对其进行更新。

    【讨论】:

      猜你喜欢
      • 2018-10-17
      • 2017-09-25
      • 2019-12-13
      • 1970-01-01
      • 2018-10-20
      • 2015-12-05
      • 2017-09-30
      • 1970-01-01
      • 2019-08-13
      相关资源
      最近更新 更多