【问题标题】:Problem with Apple Push Notification serviceApple 推送通知服务的问题
【发布时间】:2011-09-26 10:01:09
【问题描述】:

我尝试在我的应用 iPhone 上设置推送通知。 我创建了证书,然后在我的网络服务器上使用了 apns php 库来创建通知,但这是错误:

Warning: stream_socket_client() [function.stream-socket-client]: SSL operation failed with code 1. OpenSSL Error messages: error:14094414:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate revoked

【问题讨论】:

    标签: iphone objective-c push-notification apple-push-notifications


    【解决方案1】:

    这意味着您的apns证书已被吊销。您可以重新生成新证书,然后重试。

    【讨论】:

    • :) 也使用 openssl 实用程序,您可以检查 ssl handcheck 是否正常工作。为此使用以下命令。 $ openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert YourSSLCertAndPrivateKey.pem -debug -showcerts -CAfile server-ca-cert.pem
    猜你喜欢
    • 1970-01-01
    • 2017-11-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多