webpush-java icon indicating copy to clipboard operation
webpush-java copied to clipboard

SSLHandshakeException: General SSLEngine problem

Open Vasudev-Git opened this issue 5 years ago • 0 comments

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)

Vasudev-Git avatar Jul 13 '20 13:07 Vasudev-Git