【问题标题】:APNS P12 certificate stopped working?APNS P12 证书停止工作?
【发布时间】:2015-01-05 09:12:52
【问题描述】:

我正在使用 ASP.NET 服务器向 APNS 发送推送通知。我正在使用 PushSharp 库。突然,推送通知停止工作。我遇到了这个异常,

The maximum number of Send attempts to send the notification was reached

我搜索发现APNS不再支持SSL v3。 https://developer.apple.com/news/?id=10222014a 我发现最新版本的库也在使用 Tls。所以我更新了图书馆。但现在我明白了,

System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.

我的 .p12 证书有效期为 2014 年 3 月 4 日至 2015 年 3 月 4 日。当 APNS 支持 SSL v3 时,我生成了 .p12 证书文件。我需要更新 p12 证书吗?

【问题讨论】:

    标签: ios asp.net security ssl pushsharp


    【解决方案1】:

    我已更新 APNS 证书(.p12 文件)和 PushSharp 库,现在使用 TLS 而不是 SSL v3.0(易受 POODLE 攻击)。现在问题解决了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-14
      • 2015-11-13
      • 2018-05-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多