Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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.
Have you checked out Aspose?
subject: Received fatal alert: handshake_failure
It's not a secret anymore!