The truststore was created using the command keytool -importcert -alias regClient -storetype PKCS12 -keystore uststore -file regClient. I generated all certificates and truststores using keytool. Given that my trustore exists, and contains my certificate - what could the problem be? For Windows you'll need to fetch the davmail setup.exe file from. This will be where the davmail icon appears while it is running. Note: If you use the XFCE desktop environment, make sure your panel has the 'Notification Area' item displayed. The trustAnchors parameter must be non-empty To run davmail, just type 'davmail' at the command line, or click its icon on the application menu. I then get the tomcat error: handling exception: : Unexpected error: : The keystore configuration (standalone. To use a client certificate provided as a PKCS12 file, set the following keys in DavMail: 12 12. It errors out: When I call the same tRestClient component from the TOS ESB Studio, it works perfectly fine. Internally, I am making a call via tRestClient. I have a restful service hosted on TOS ESB 6.3.1 Runtime container. Out of JBoss (.Net app and one Java Class) I could execute with success the webservice. Basically your java SSL configuration is broken: either invalid cacerts file or invalid DavMail SSL settings. tRestClient - SSLException - The trustAnchors parameter must not be empty. It's show 'trustAnchors parameter must be non-empty'. I load a p12 file into my browser certificate, and go to my application URL. From the APP-SV I can't execute the webservice. It is this kind of information I was searching for in the DavMail documentation and FAQ but there is no mention of java security settings at all, not even that such a thing exists. So tomcat launches okay - it is reading the truststore which must mean it exists and can be read. Changing in the curity does indeed help. I also have tried breaking the file location just to see tomcat startup fail as it can not find the file. I did the same and gave this command and received the answer saying keytool: command not found I searched the command and found it but it stays in another place so we are receiving that answer. I launch tomcat and I know it is reading this truststore file correctly as I originally did not have the file in pkcs12 format and tomcat reported an error on startup.
0 Comments
Leave a Reply. |