-
Bug
-
Resolution: Done
-
Blocker
-
7.4.3.CR1
-
None
Trying to use the elytron-tool script to work with credentials from a credential store results in an exception similar (based on the actual operation) to this
Exception encountered executing the command:
org.wildfly.security.credential.store.CredentialStoreException: ELY09508: Cannot write credential to store
at org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.store(KeyStoreCredentialStore.java:412)
at org.wildfly.security.credential.store.CredentialStore.store(CredentialStore.java:242)
at org.wildfly.security.credential.store.CredentialStore.store(CredentialStore.java:226)
at org.wildfly.security.tool.CredentialStoreCommand.addAlias(CredentialStoreCommand.java:502)
at org.wildfly.security.tool.CredentialStoreCommand.execute(CredentialStoreCommand.java:415)
at org.wildfly.security.tool.ElytronTool.main(ElytronTool.java:84)
at org.jboss.modules.Module.run(Module.java:353)
at org.jboss.modules.Module.run(Module.java:321)
at org.jboss.modules.Main.main(Main.java:617)
Caused by: java.security.NoSuchAlgorithmException: ELY08028: Invalid algorithm "clear"
at org.wildfly.security.password.PasswordFactory.getInstance(PasswordFactory.java:122)
at org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.store(KeyStoreCredentialStore.java:286)
... 8 more
There are no providers registered, so the PasswordFactory#getInstance method just immediately throws an exception.
This is a regression against EAP 7.4.2.GA, probably caused by JBEAP-22793.
- is cloned by
-
WFCORE-5764 Can't write/acquire credentials from a store using the elytron-tool script
- Closed
- is incorporated by
-
JBEAP-23021 (7.4.z) Upgrade WildFly Core from 15.0.6.Final-redhat-00001 to 15.0.6.Final-redhat-00003
- Closed