CleverTap/apns-http2

PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

nkmittal opened this issue · 1 comments

When upgrading openjdk greater than 8u242 I start getting this error whenever I send push message to Apple APNS. I use Play Scala based serverIt's probably because apns-http2 has not enabled support for ALPN APIs which are natively integrated (backported from java 9) starting from openjdk version 8u252.
Please refer:
https://webtide.com/jetty-alpn-java-8u252/
https://github.com/jetty-project/jetty-alpn

Error message:
cause=javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

This is happening for me with Java 11 on Google Cloud Functions