]
Jan Kalina updated WFLY-7158:
-----------------------------
Comment: was deleted
(was: *Current status:* key-manager reference key-store to obtain SSL key,
credential-reference is used only to obtain its password
*Required status:* key-manager use credential-reference to obtain SSL key)
Working with multiple keys in key store
---------------------------------------
Key: WFLY-7158
URL:
https://issues.jboss.org/browse/WFLY-7158
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Martin Choma
Assignee: Jan Kalina
Priority: Critical
Fix For: 11.0.0.Alpha1
In case when 2 keys are present in keystore, then alias-filter (filtering into single
key) on key-store resource has to be specified, otherwise key-manager can't be
created. If user want to use keystore with multiple keys, user has to configure multiple
key-store elements with specified alias-filter (filtering into single key).
That is pretty inconvinient. Probably introducing *alias attribute on key-manager* would
be more intuitive solution to this situation.
{code}
/subsystem=elytron/key-managers=server:add(key-store=server,algorithm="SunX509",password=key-password)
{code}