1 Reply Latest reply on Sep 21, 2015 9:50 AM by mpateck

    the trustAnchors parameter must be non-empty

    mpateck

      Hi everyone,

       

      im currently running an app which responds to rest calls.

      The app takes the call and loads data from a different source via ssl.

      This worked until a few days before, now it quits with the error "javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty".

      I googled a lot...and it seems to be related to a keystore/certificate problem.

      I searched the server (Windows2003) but havent found any keystore/trustore whatever.

      In the code i load the default keystore: KeyStore trustStore = KeyStore.getInstance(KeyStore.getDefaultType());

      Does that mean, i had a keystore and it is now deleted, or am i just to stupid to find it?

      I also cannot find any configuration in the server config files.

       

      Im quite stuck. Im not a expert but the only one who is not on vacation....

      Can you please point me to some spots i can check?

      Its a WildFly 9.

       

       

      Thank you!