web-push-libs / webpush-java

Web Push library for Java
MIT License
318 stars 112 forks source link

SSLHandshakeException: General SSLEngine problem #143

Open Vasudev-Git opened 4 years ago

Vasudev-Git commented 4 years ago

I get the below certificate issue when I try to use the PushService API class to send out push notifications to Firefox browser, whereas the webpush library works fine with Chrome browser. Do I really need to import any certificate into my jre?

java.util.concurrent.ExecutionException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
    at org.apache.http.concurrent.BasicFuture.getResult(BasicFuture.java:71)
    at org.apache.http.concurrent.BasicFuture.get(BasicFuture.java:84)
    at org.apache.http.impl.nio.client.FutureWrapper.get(FutureWrapper.java:70)
    at nl.martijndwars.webpush.PushService.send(PushService.java:142)
    at nl.martijndwars.webpush.PushService.send(PushService.java:146)
    at com.pwa.GreetingController.pushNotificationToSubscribedUser(GreetingController.java:169)