简体   繁体   English

在curl中与Moneris服务器进行HTTPS连接

[英]HTTPS connection with Moneris servers in curl

Since today my curl request to Moneris payment system is throwing me this error : 从今天开始,我向Moneris付款系统发出的卷曲请求就向我抛出此错误:

* Hostname in DNS cache was stale, zapped
*   Trying 69.46.113.11...
* Connected to esqa.moneris.com (69.46.113.11) port 443 (#0)
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: {my-path}/curl-ca-bundle.crt
CApath: none
* error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
* Closing connection 0

There is no news about SSL Certification modification in Moneris news feed or documentation. Moneris新闻提要或文档中没有有关SSL认证修改的新闻。

So I have upgraded to PHP7 and Curl 7.43.0 and still not working. 所以我已经升级到PHP7和Curl 7.43.0,仍然无法正常工作。 I have also added extra ssl certificate from curl website . 我还从curl网站添加了额外的ssl证书。

Why can't I connect to Moneris server ? 为什么我不能连接到Moneris服务器?

Have a look here , even if it's for PayPal, it seems to be the same problem. 看看这里 ,即使是用于PayPal,也似乎是同样的问题。

It's because they upgraded a certificate, not you. 这是因为他们升级了证书,而不是您。 This might also help to understand what's going on. 也可能有助于了解发生了什么。 Sad to say, it might just be solvable if you update one of the two endpoints. 可悲的是,它可能只是可以解决的,如果你更新的两个端点之一。 This is only a guess! 这只是一个猜测!

Everything is back to normal without changes. 一切恢复正常,没有任何变化。

It was a Moneris sandbox outage without notice. 这是Moneris沙箱中断,恕不另行通知。

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

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