Internet Explorer cannot perform client authentication to Java HTTPS server
Hi,
I tried a java https server from [url]http://www.onjava.com/pub/a/onjava/2001/05/03/java_security.html?page=3[/url]. When I disable client authentication at server code, the IE can connect to the server without problem.
However, if i enable client authentication at server, when the window asking me to choose the client certificate to present to server pop up, I observed that at server side, the following error occurred:
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:50)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at HTTPInputStream.readLine(HTTPInputStream.java:28)
at HTTPInputStream.getRequest(HTTPInputStream.java:45)
at HTTPServerThread.run(HTTPServerThread.java:36)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:333)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:723)
... 8 more
strange thing is that after i selected the relevant client certificate, IE is still able to retrieve the html content from the https server despite all those error above and I believe that html content transfer is not secured. both https server and client were run at the same computer.
thank you

