Java-apns需要哪个Entrust证书

时间:2013-07-01 09:19:38

标签: ssl-certificate apple-push-notifications keystore

我正在尝试使用java-apns library进行推送消息传递 我目前正在尝试使用它.withSandboxDestination()但我收到的错误是:javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

我已经在很多地方读过,可能是由于缺少CA根证书。 Provider Communication with Apple Push Notification Service说:

  

与APN建立TLS会话,即Entrust Secure CA根   证书必须安装在提供商的服务器上。如果是服务器   在运行OS X时,此根证书已存在于钥匙串中。上   在其他系统中,证书可能不可用。您可以   从Entrust SSL证书网站下载此证书。

我正在使用windows7机器进行开发阶段。我打开mmc.exe并添加了证书管理单元(设置为"计算机" - Q1:这是正确的做法吗?)我可以在Certificates (Local Computer)下看到 - > Trusted root certification authorities - > Certificates Entrust.net的以下两个证书:

  • Entrust.net Certification Authority (2048)
  • Entrust.net Secure Server Certification Authority

但是,在Entrust.net site上还有更多证书......

Q2:我需要哪些证书? 问题3:我是否正在寻找合适的地方,或者tomcat中的java可能根本没有使用我的计算机证书? 问题4:有没有办法让我看到苹果的gateway.sandbox.push.apple.com,端口2195使用的证书?

感谢任何帮助。

0 个答案:

没有答案