notnoop / java-apns

Java Apple Push Notification Service Provider
notnoop.github.com/java-apns
BSD 3-Clause "New" or "Revised" License
1.8k stars 658 forks source link

No trusted certificate error with jdk1.8+Tomcat8 #291

Open rkris19 opened 8 years ago

rkris19 commented 8 years ago

com.notnoop.exceptions.NetworkIOException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found PushNotifications were working with jdk1.6+weblogic.

hunterliang01 commented 6 years ago

Have you resolved this issue? I'm currently facing same issue, could you please help to share the solution?

kret11 commented 5 years ago

Make sure your $JAVA_HOME/lib/secutity/cacerts is not empty. I realised AdoptOpenJDK 8 doesnt provide any CA certs. Copied from Zulu JDK 8