-
Bug
-
Resolution: Done
-
Minor
-
1.20.2.Final
-
None
KeyStoreCredentialStore class in the flush method swallows the exception if the cancel method works successfully. The result is that the flush finishes successfully although the file was not written.
In my case I was testing NSS FIPS with external storage like in the documentation but I created a key that was not AES, so the exception was swallowed and the external file not created. After a reboot the alias was lost.
After adding the throw again the error in the server is the following:
14:51:35,677 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add-alias") failed - address: ([ ("subsystem" => "elytron"), ("credential-store" => "cs") ]) - failure description: "WFLYELY00009: Unable to complete operation. 'ELY09513: Unable to flush credential store to storage->Key algorithm must be AES'"