Stripe payments 妈妈:错误。Stripe不再支持使用TLS 1.0进行的API请求。请使用TLS 1.2或更高版本启动HTTPS连接
我在OSX 10.11.6(El Capitan)上使用Stripe API,它给出了错误:Stripe payments 妈妈:错误。Stripe不再支持使用TLS 1.0进行的API请求。请使用TLS 1.2或更高版本启动HTTPS连接,stripe-payments,laravel-5.3,Stripe Payments,Laravel 5.3,我在OSX 10.11.6(El Capitan)上使用Stripe API,它给出了错误: Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. 我应该如何使用更新的卷曲 MAMP卷曲版本 /Applications/MAMP/Library/bin/curl-config --version libcurl 7.
Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later.
我应该如何使用更新的卷曲
MAMP卷曲版本
/Applications/MAMP/Library/bin/curl-config --version
libcurl 7.43.0
我的机器上的卷曲版本
curl --version
curl 7.49.0 (x86_64-apple-darwin11.4.2) libcurl/7.49.0 OpenSSL/1.0.2h zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
MAMP设置的PHP解释器使用的curl模块是针对不支持tls1.2(很可能是较旧的OpenSSL版本)的SSL库链接的 您需要升级MAMP设置,特别是curl和OpenSSL。curl库应该链接到OpenSSL 1.0.1或更高版本,因为在OpenSSL 1.0.1中首先添加了对TLS 1.2的支持