ios - APNS P12 证书停止工作?

标签 ios asp.net security ssl pushsharp

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

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 证书有效期为 3/4/2014 到 3/4/2015。当 APNS 支持 SSL v3 时,我生成了 .p12 证书文件。我需要更新 p12 证书吗?

最佳答案

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

关于ios - APNS P12 证书停止工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27776342/

相关文章:

c# - 带有 ApplicationPath 的 ASP.NET MVC Action

c# - "Entry point was not found"与 MVC 5 和 StructureMap

php - Symfony 安全返回 401 响应而不是重定向

django - 在网站中传递商家 key 和盐

ios - 没有可用的身份 - 以前的答案没有解决管理员请求

ios - 当 View Controller 不是选定的选项卡或未显示时 NSTimer 停止

ios - 将评论回复添加到类 "Post"中的字符串数组中

javascript - 尝试编写一个小数点后 4 位的正则表达式

php - 支持加密数据库字段部分字符串匹配的安全方法

iOS Flutter 与 Firebase : white screen and SIGABRT in FlutterAppDelegate on launch