I do not want that my client authenticates itself with the server

Hi !!!

In my application RMI I do not want that the client must authenticate itself,

I only need to authenticate the server

my application works well if in the client and the server I fset the keyStroe, but single I want to do it in the server, the client does not need it

System.setProperty("javax.net.ssl.keyStore","ks.keystore");

System.setProperty("javax.net.ssl.keyStorePassword","*******");

System.setProperty("javax.net.ssl.trustStore", ts.trustStore);

System.setProperty("javax.net.ssl.trustStorePassword", ******");

I set the property

sslSocket.setNeedClientAuth(false);

in the server side

but the problem is in the client side, in the client SSLSocket, throws a exception. if I dont set the keyStores for the client

Who can I work in the client side without KeyStores and thrustStores?

thank you!!!!!

In Spanish

quiero que mi aplicacion RMI no autentique el cliente, entonces en el lado del servidor yo seteo el socket para que no pida autenticacion del cliente asi:

sslSocket.setNeedClientAuth(false);

y todo va bien, pero el socket del cliente siempre pide que se configure el keyStore y el trustStore para el, por que sino lo hago lanza una excepsion, como puedo hacer eso, como configuro bien mi cliente?

[1576 byte] By [DaleGroa] at [2007-11-27 9:02:56]
# 1
You need to tell us exactly what exception is thrown.You should also make sure that wantClientAuth=false at the server as well as needClientAuth. And you need to set them on the SSLServerSocket, not the accepted SSLSocket. It's often too late by then.
ejpa at 2007-7-12 21:34:19 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...