Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SSL handshake problem

843790Sep 20 2007 — edited Sep 21 2007
Hello,

I am trying to connect to an HTTPS server using the HttpsURLConnection class.
I followed some tutorials and set the needed SSL properties: keystore, password ...
Now i get this exception:
javax.net.ssl.SSLException: Received close_notify during handshake

I could not figure out what is wrong here. This error arise when i try to write some data (POST method) to the HTTPS connection.
What may be wrong?
thanks a lot

sebastien
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2007
Added on Sep 20 2007
7 comments
2,948 views