SSLSocket.startHandshake() locking up SSL session?
843811Jul 1 2003 — edited Aug 4 2003Hi,
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?