Posts

Post not yet marked as solved
1 Replies
2.2k Views
After revoking an old certificate and generating a new .p12 certificate, my APNS program encountered issue in establishing handshake, thus we are unable to push notifications out.Does anyone have any ideas? We are not sure if using 2 Macbooks that cause the issue. However, due to the account access limitations we have on both Macbooks, we have to carry this out on two macbooks.Macbook A contains the Java source code to send APNS Notifications.Macbook B is used to create the certificate, uploading it to developer.apple account and install the certificate to the same Macbook B.We then exported the p12 file to Macbook A and when we try to run the source code on Macbook A using the exported p12 file from Macbook B, it throws a handshake error.Our logs reflect the following error :WARN io.netty.handler.ssl.ApplicationProtocolNegotiationHandler - [id: 0x551ee684, L:/10.0.3.115:49493 - R:api.push.apple.com/17.188.131.155:443] TLS handshake failed:javax.net.ssl.SSLException: Received fatal alert: handshake_failure
Posted Last updated
.