I have faced the same issue, same javax.net.ssl.SSLHandshakeException
is throwing at the time of API call.
but in my case, the following was the issue
my device
was connected
to the wifi
but wifi router was not
having the internet
connection and then the exception
was thrown