Skip to Main Content

Java Security

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!

SSLSocket.startHandshake() locking up SSL session?

843811Jul 1 2003 — edited Aug 4 2003
Hi,

I'm trying to do a rehandshake on SSL connection and enforce client authentication based on request received thru the connection in anonymous mode first. (It's a web server receiving a HTTP request, then finding that requested resource needs authentication, and trying to ask browser for client certificate by setting SSLSocket.setNeedClientAuth(true) and then triggering SSL handshake with SSLSocket.startHandshake().
When I do this, communication gets stuck in the SSL handshake for some reason...

I'm trying this on JDK 1.4.2 built-in JSSE and on Windows XP.

Anyone observed this, or made this work OK?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 1 2003
Added on Jul 1 2003
5 comments
1,125 views