I want to create accounts in zimbra from a java aplication. Y followed the wiki on ZClient - ZimbraWiki and I couldnt get auth token.
I did something like this (on Ubuntu 7.04, Zimbra 4.5, Eclipse 3.2):

SoapHttpTransport trans = null;
try {
trans = new SoapHttpTransport("https://www.technicaldetails.org" + ZimbraServlet.USER_SERVICE_URI);
Element request = Element.XMLElement.mFactory.createElement(AccountS ervice.AUTH_REQUEST);
request.addAttribute(AccountService.E_ACCOUNT, "userdoesntexist@technicaldetails.org", Element.DISP_CONTENT);
request.addAttribute(AccountService.E_PASSWORD, "notapassword", Element.DISP_CONTENT);
Element response = trans.invoke(request);
}
catch (Exception E)
e.printStackTrace();
}

But I had problemas with ssl. First throws javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException, then I did something like:
jturner@teacup:~$ openssl s_client -connect imap.atlassian.com:imaps
to get the certificate and
jturner@teacup:~$ keytool -import -alias mail.yourcompany.com -keystore /etc/java/keystore -file imapd.pem
And runs the applecation with -Djavax.net.ssl.trustStore=/etc/java/keystore
But throws java.net.SocketException: Default SSL context init failed: Invalid keystore format

Anybody can help me please??