This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Received fatal alert: handshake_failure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Received fatal alert: handshake_failure" Watch "Received fatal alert: handshake_failure" New topic

Received fatal alert: handshake_failure

Rajkumar Sathiya

Joined: Dec 15, 2009
Posts: 8
Dear All,

We are doing urlposting to a customer, which was working fine till our certificate got expired.
So we generated a CSR(using the existing private key from the keystore, we dint use genkeypair command) and sent to the CA.
After receiving certificate from CA we have imported it to our keystore.
While running the program we have received the below exception. Received fatal alert: handshake_failure at at at at at at at at at at at at com.SendURL.sendUrl( at com.SendURL.sendUrl( at Received fatal alert: handshake_failure at at at at at at at at at at at

Below is the code used for url posting.

What mistake I have done?
Program was working fine till certificate expired and when we placed new certificate, we are receiving the handshake exception.

In what scenario this exception will be thrown, kindly help.

Thanks in advance.
I agree. Here's the link:
subject: Received fatal alert: handshake_failure
It's not a secret anymore!