We found what we were doing wrong!!!!
We have added the certificate signed by our CA in cacerts.jks instead of adding the public key of the CA. (we have a self-signed certificate).
Now it works fine!!
thx a lot
[Message sent by forum member 'amaiadomi' (amaiadomi)]
http://forums.java.net/jive/thread.jspa?messageID=333330