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?

