Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nkmittal opened this issue Dec 9, 2020 · 1 comment

Comments

@nkmittal
Copy link

nkmittal commented Dec 9, 2020

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

@chandanreddy1206
Copy link

chandanreddy1206 commented Mar 28, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants