ios - Zendesk 聊天结合 pem 上传但收不到推送通知
问题描述
我遵循了这份文件:
https://developer.zendesk.com/embeddables/docs/ios-chat-sdk/push_notifications
并结合了 Cert PEM 和 Key PEM。
我用了openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert Certificates.pem -key PrivateKey.pem
openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert Certificates.pem -key PrivateKey.pem
CONNECTED(00000007) depth=1 C = US, O = "Entrust, Inc.", OU = See www.entrust.net/legal-terms, OU = "(c) 2012 Entrust, Inc. - 仅供授权使用" , CN = Entrust Certification Authority - L1K verify error:num=20:unable to get local issuer certificate verify return:0 --- 证书链 0 s:/C=US/ST=California/L=Cupertino/O=Apple Inc ./CN=gateway.sandbox.push.apple.com i:/C=US/O=Entrust, Inc./OU=参见 www.entrust.net/legal-terms/OU=(c) 2012 Entrust, Inc. - 仅供授权使用/CN=Entrust 证书颁发机构 - L1K 1 s:/C=US/O=Entrust, Inc./OU=参见 www.entrust.net/legal-terms/OU=(c) 2012 Entrust, Inc . - 仅供授权使用/CN=Entrust 证书颁发机构 - L1K i:/O=Entrust.net/OU=www.entrust.net/CPS_2048 incorp. 通过参考。(limits Liab.)/OU=(c) 1999 Entrust.net Limited/CN=Entrust.
验证返回码:0(ok)
然后我成功上传到 Zendesk Dashboard。但之后我无法收到推送通知。
解决方案
推荐阅读
- java - 在 IntelliJ getResources() 中编译 JavaFx 应用程序返回 null
- php - PHP 将 SVG 转换为 Jpg 缺少元素
- python - 为什么 tarfile 模块不允许压缩附加?
- c# - 在简单的 Add() -> SaveChanges() 上被选为死锁受害者
- javascript - jQuery动画隐藏一个div并平滑显示其他
- c# - 如何从datagridview中的特定列获取最大、第二大和第三大值
- wordpress - 将带参数的 URL 重定向到另一个参数 url
- html - Django:如何将 for 变量传递给查询字符串?
- javascript - 搜索设计概念的名称
- javascript - 来自客户端的节点模块的静态文件