Ok, I now figured it out:

A client certificate is not needed but you have to specify a valid keystore and 
a valid truststore as well:


  |         System.setProperty("javax.net.ssl.keyStorePassword", "mypassword");
  |         System.setProperty("javax.net.ssl.keyStore", "mykeystore.jks");
  | 
  |         System.setProperty("javax.net.ssl.trustStorePassword", 
"mypassword");
  |         System.setProperty("javax.net.ssl.trustStore", "mykeystore.jks");
  | 

The keystore is created by Sun's keytool. It contains one trusted certificate 
(an empty keystore did not work).

Jan

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901321#3901321

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901321


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to