You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mehmet Birgi <me...@otego.com> on 2002/06/05 18:30:50 UTC

Help: SSL with client authentication

Hi,

I know that this is a hot topic, and I searched all archives I could, but
still could not find out why this is not working. I am trying to set up
Tomcat to use server *and* client side certificates. I am following the
SSL-Howto. When I setup only the server certificate, everything is OK, but
as soon as I turn on clientAuth="true", nothing goes. I don't even get any
info out of the logs. By using a proxy (tcpmon out of the axis stuff), I
could at last intercept this error message:

java.net.ConnectException: connect: Address is invalid on local machine, or
port is not valid on remote machine
 	at java.net.PlainSocketImpl.socketConnect(Native Method)
 	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
 	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
 	at java.net.Socket.connect(Socket.java:425)
 	at java.net.Socket.connect(Socket.java:375)
 	at java.net.Socket.<init>(Socket.java:290)
 	at java.net.Socket.<init>(Socket.java:118)
 	at org.apache.axis.utils.tcpmon$Connection.run(tcpmon.java:881)

Everything is configured to default, i.e. port is 8443, .keystore is in the
user-home (server side is ok anyway), but I can't seem to be connecting. I
have tried several versions/builds, now I have
win2000/jdk_1.4/tomcat_4.0.3/mozilla_1.0rc3.

There must be some stupid thing that I am overlooking, but if nobody helps
me, I will go crazy.

TIA,

Memo


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>