Bug 1535540
| Summary: | Not able to issue the certificate when kra.allowEncDecrypt.{archive, recovery}=false. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Amol K <akahat> |
| Component: | pki-core | Assignee: | RHCS Maintainers <rhcs-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | Asha Akkiangady <aakkiang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.5 | CC: | alee, ftweedal, mharmsen |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-01-23 00:06:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I'm a little confused. I though that when using the HSM, you had to set the parameters to True (not false). I added a bit more of a description of the feature here: http://pki.fedoraproject.org/wiki/Aes-feature-description Per CS/DS Meeting of 20180122, closing as NOTABUG. I open this Bugzilla as Fraser suggested in comment[1]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1460019#c18 Fraser is confused I think: See the link I mentioned: http://pki.fedoraproject.org/wiki/Aes-feature-description I was confused :) Was not aware that the HSMs did not support key wrapping with AES. But one day they will, surely...? |
Description of problem: To archive the key we need to set this attributes in the KRA instance's CS.cfg file on HSM machine. kra.allowEncDecrypt.archive = false kra.allowEncDecrypt.recovery = false Version-Release number of selected component (if applicable): 10.5.1-5.el7 How reproducible: Always Steps to Reproduce: 1. pki -d /root/nssdb/ -c SECret.123 -p 20080 client-cert-request "UID=testuser1,CN=testuser1" --type crmf 2. pki -d /root/nssdb/ -c SECret.123 -p 20080 -n "PKI CA Administrator for Example.Org" -v ca-cert-request-review --action approve 17 3. Actual results: BadRequestException: Request Sending DRM request failed check KRA log for detail Rejected - {1} Expected results: It should be successful. And key gets archived in the HSM. Additional info: