

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? trustAnchors parameter must be non-empty is a slightly generic message in java. 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. java.io. It could be set to JKS in case it is a JKS file -store-typePKCS12 The path to. gets you a bit further (I actually see my office365 inbox in davmails popup), but next davmail request (for /token I assume) fails with. The trustAnchors parameter must be non-empty I use a SSL certificate from Let's Encrypt which I have stored in the running server and configured in Spring boot application.properties: SSL enabled SSL protocol The format used for the keystore. Now that I upgraded to 18. You can do this by adding the trusted CAs to the trust store. I then get the tomcat error: handling exception: : Unexpected error: : To fix this error, you need to make sure that the trust store is not empty. I load a p12 file into my browser certificate, and go to my application URL. So tomcat launches okay - it is reading the truststore which must mean it exists and can be read. I also have tried breaking the file location just to see tomcat startup fail as it can not find the file. 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. modified tomcat/conf/server.xml to include SSL Connector with truststoreType="PKCS12", truststoreFile="conf/uststore" truststorePass="password".Mixing Java JDK path in eclipse.ini, for example: eclipse. I assume it relates to the ca-certificates-java package, that gets purged by java-common. Only by purging java-common that also went away and then reinstallation worked.
Davmail trust parameter must not be empty java windows#
Using Apache Tomcat v7.0.56 as server on Windows with Java 8.0.71 The Truststore is specified with the system property . sudo apt purge openjdk-9-jdk openjdk-8-jdk java-common (Just purging and reinstalling the jdk was not enough, I still had a java command after that.Let's try to reproduce the case.I know this question appears no stackoverflow a lot, and the exception is to do with a missing truststore - but here is my issue: Throw new InvalidAlgorithmParameterException("the trustAnchors " + The exception is thrown when the provided KeyStore has no trustAnchors. Basically your java SSL configuration is broken: either invalid cacerts file or invalid DavMail SSL settings.
