-
Story
-
Resolution: Unresolved
-
Major
-
rhel-10.2
-
ipa-4.12.2-27.el10
-
Moderate
-
1
-
rhel-idm-ipa
-
13
-
15
-
1
-
QE ack, Dev ack
-
False
-
False
-
-
Yes
-
IPA: RHELs for 10.2 and 9.8
-
Requested
-
None
-
Unspecified Release Note Type - Unknown
-
Unspecified
-
Unspecified
-
Unspecified
-
None
cloned from https://pagure.io/freeipa/issue/9865
LWCA private keys currently generated by PKI are stored in the CA NSS database. Custodia handles syncing keys between CAs.
If PKI can generate a private key on an HSM, or some other mechanism, then we need to disable Custodia because the key will be synced using other means. This should be ok since on HSM installs custodia is already disabled.
PKI has the capability to generate a LWCA private key on the HSM by specifying the token name along with a colon as the prefix, e.g. mytoken:lwca.
We need to abstract that to not require users to remember to use the token name when generating a LWCA.