gpt4 book ai didi

ios - 苹果分发证书导致 14094410 :SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:17:00 25 4
gpt4 key购买 nike

我按照 Ali Hafizji 的教程创建了一个支持通知的 iPhone 应用程序

在生产环境中运行时出现以下错误:14094410:SSL 例程:

SSL3_READ_BYTES:sslv3 alert handshake failure

itunes 显示分发配置:

Enabled Services: Game Center, In-App Purchase, Push Notifications
Expires:Sep 15, 2015
Status:Active

我已经将 pem 文件加载到服务器并像这样调用它:

    theCertfile ='./CK_production.pem'
theHost = ( 'gateway.push.apple.com', 2195 )
ssl_sock = ssl.wrap_socket( socket.socket( socket.AF_INET, socket.SOCK_STREAM ), certfile = theCertfile )
ssl_sock.connect( theHost )
ssl_sock.write( theNotification )
ssl_sock.close()

我知道 Apple 已停止使用 SSL 3.0 发送推送通知,我们需要使用 TSL 而不是 Apple 文档没有示例,任何人都可以为我指出 Python/Django 的教程吗? (为了清楚起见,我在谷歌上搜索了一个教程,但没有找到)

最佳答案

原因是因为 Apple 停止使用 SSL 3.0 发送推送通知。

为什么? 2014 年 9 月下旬发布的一则新闻称,它不再安全了。 Read Apple note

你可以谷歌“BEAST攻击”获取更多信息。

现在?您的服务需要使用 TLS。这是 Apple documentation

关于ios - 苹果分发证书导致 14094410 :SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26749161/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com