-
Thank you for the wonderful library! I am using jib (with distroless as base image) to build a Spring Boot app with pushy library connecting to Apple APNs. I have the problem about certificates in 2021.3.31. Months ago there was this problem and it was solved, but today it does not work. I suspect it is related to AAACertificate, but after a change, it still does not work related: #833 (comment) Details of what I have done: build the client using:
where the path is put a file named
error:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
@fzyzcjy @LightySnake we still faced up the problem too, also mentioned in #870 We tried to add the full setTrustedServerCertificateChain using the Apple newly released certificates in https://developer.apple.com/news/?id=7gx0a2lp.
|
Beta Was this translation helpful? Give feedback.
-
@jchambers Dear maintainer, could you please provide some suggestions? Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
Folks, this sounds like a request for assistance more than a request for an engineering change. I'm going to convert this into a discussion rather than an issue. That said, it appears that Apple is sometimes sending the old GeoTrust certificate and sometimes sending the new AAACertificateServices certificate. You can check which you're getting with: openssl s_client -connect api.push.apple.com:443 -showcerts -servername api.push.apple.com I'm guessing that this is a case where the upstream change has been only partially rolled out, and there are a mix of old and new certificates in play. @fzyzcjy the difficulty is that you're setting exactly one trusted certificate (I presume the AAA certificate), and so the connection fails if the server presents the old GeoTrust certificate. As Apple called out in their announcement about this change:
I had hoped that they meant that this was necessary because there would be a smooth, one-way transition from the old certificate to the new, but it appears that we may be dealing with an extended period in which both certificates are in play. |
Beta Was this translation helpful? Give feedback.
Folks, this sounds like a request for assistance more than a request for an engineering change. I'm going to convert this into a discussion rather than an issue.
That said, it appears that Apple is sometimes sending the old GeoTrust certificate and sometimes sending the new AAACertificateServices certificate. You can check which you're getting with:
I'm guessing that this is a case where the upstream change has been only partially rolled out, and there are a mix of old and new certificates in play.
@fzyzcjy the difficulty is that you're setting exactly one trusted certificate (I presume the AAA cert…