-1

我是javapns的新手。尝试访问代码时出现以下异常。我检查了我的证书,它只是正确的。我不知道为什么我会收到这个错误。

Validating keystore reference: VALID  (keystore was found)
Verifying keystore content: VERIFIED  (no common mistakes detected)
log4j:WARN No appenders could be found for logger (javapns.notification.Payload).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
All notifications failed (1):
[1] not transmitted to token b74be..4c4ec javapns.communication.exceptions.InvalidCertificateChainException: Invalid certificate chain (Received fatal alert: certificate_unknown)!  Verify that the keystore you provided was produced according to specs...
4

1 回答 1

0

我遇到了同样的问题并通过将 JVM 从 OpenJDK 1.7 更改为 OpenJDK 1.6 来解决它

于 2014-06-04T08:09:36.207 回答