简体   繁体   English

如何升级TLS 1.2的Stripe

[英]How do I upgrade Stripe for TLS 1.2

I am using the Stripe module for python (via pip install stripe ), and I get the following error: 我正在为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.

Following Stripe's docs, they say you should re-install Python (via brew ) and upgrade to the latest version of the Stripe library (1.37.0 as of this writing). 根据Stripe的文档,他们说您应该重新安装Python(通过brew )并升级到Stripe库的最新版本(在撰写本文时为1.37.0)。 I've done both of these steps, but it doesn't make a difference. 我已经完成了所有这两个步骤,但是并没有什么不同。

What else am I supposed to do? 我还应该做什么?

You can try this You can check the TLS verison running on your server at https://www.ssllabs.com/ssltest/ 您可以尝试此操作您可以在https://www.ssllabs.com/ssltest/上检查服务器上运行的TLS版本。

if your result displays TLS version 1.2 as NO then you have to update it as per the server you are running. 如果结果显示TLS 1.2版为“否”,则必须根据运行的服务器进行更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM