Join GitHub today
Problem with apns: certificate_expired? #41
Following the description on the wiki page I updated my keystore to include all the keys from Apple's apns service. However, when I talk to the feedback server, I do still get an SSLHandshakeException. Before the update, the Exception was
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_expired
I think it would be helpful if this project would use some kind of AllTrustingSSLSocketFactory, not bothering with what f***up Apple is doing with it's servers.
I think there is still a case to be made to have such feature. However, you can create your own trusting
Rather than using