使用TLS 1.2的PHP SOAP通信 [英] PHP SOAP Communication Using TLS 1.2

查看:240
本文介绍了使用TLS 1.2的PHP SOAP通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经在我们的站点中集成了 UPS Web服务.最近我们收到了来自UPS的警报:

We have integrated UPS Web Service in our site. recently we got alert from UPS :

自2016年1月26日起,UPS测试环境将要求 TLS 1.2安全协议,将可用于您的系统 测试.

Effective January 26, 2016,the UPS test environment will require the TLS 1.2 security protocol, and willbe available for your system testing.

自2016年5月31日起,UPS将要求使用TLS 1.2安全协议 在生产中.在该日期之后,任何通信请求都将提交给 使用旧协议(TLS 1.1或更早版本)的UPS将失败.

Effective May 31, 2016,UPS will require the TLS 1.2 security protocol in production. After that date,any communication requests submitted to UPS using older protocols (TLS 1.1 orearlier) will fail.

我的问题是:

是否可以使用TLS交流PHP SOAP?我已经用谷歌搜索了很多,但是找不到任何解决方案.

Is there any way to communicate PHP SOAP using TLS ? i have already googled a lot but could not find any solution yet.

请提出建议

推荐答案

最后我找到了解决这个问题的方法,它需要OpenSSL> 1.0.1或 NSS> 3.15,在我的情况下,我们的服务器支持的SSL版本为NSS/3.19.1 基本ECC,因此无需更改任何代码.

Finally i got solution for this issue.It require OpenSSL > 1.0.1 or NSS > 3.15 and in my case our server support SSL Version is NSS/3.19.1 Basic ECC so no need to change any code.

这篇关于使用TLS 1.2的PHP SOAP通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆