Hi, I don't know if you got this resolved, but a few questions for you: > The problem is that to do this I always need the > private key password. > In my case I have a hardware that stores the private > keys and when I > need to use then, I must invoke the public key. What hardware stores the private key. From my understanding of Not Yet Commons SSL, you just need a java keystore and a java truststore. Did you use keytool to create the keystore and truststore? If your private key and certificate are in another format (PEM, DER, or something under windows), you can extract the private key and cert and use a java utility to program to import into a keystore.
I have some more info on the web about this: http://www.wijiscommons.org/gjxdm_example/java/java.html The link 'I already have an private key and certifcate in PEM Format' might be helpful for you. > in the hardware. Then I need to develop a code using > just the public > key, instead of KeyMaterial(privateKey, password). > If you want to do mutual authentication with an xfire cclient, I think you need both your private key and certificate. Otherwise, anyone can use just a certificate to connect to the web service. I would start by trying to get your private key and cert in PEM format and then put the private key and cert in a keystore. Whatever certs signed your certificate would go in the truststore. Cheers, Yogesh --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
