I am implementing paypal silent post. This was working at one time but now it appears to be having issues. The error I am getting:
javax.net.ssl.SSLHandshake
One solution I found for this is:
urlCon.setHostnameVerifier(new HostnameVerifier() { @Override public boolean verify(String hostname, SSLSession session){ return true; } });
If it doesn't work, try using HttpsURLConnection instead of URLConnection.