RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1477318 - CA and TPS audit log messages should mention the key size info during token enrollment
Summary: CA and TPS audit log messages should mention the key size info during token e...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pki-core
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: RHCS Maintainers
QA Contact: Asha Akkiangady
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-01 18:58 UTC by Roshni
Modified: 2020-10-04 21:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-11 20:22:27 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github dogtagpki pki issues 2922 0 None None None 2020-10-04 21:35:41 UTC

Description Roshni 2017-08-01 18:58:32 UTC
Description of problem:
CA and TPS audit log messages should mention the key size info during token enrollment

Version-Release number of selected component (if applicable):
pki-ca-10.4.1-11.el7.noarch
pki-tps-10.4.1-10.el7pki.x86_64

How reproducible:
always

Steps to Reproduce:
1. Perform a smartcard enrollment
2.
3.

Actual results:

CA audit log messages

0.http-bio-21443-exec-16 - [01/Aug/2017:14:28:53 EDT] [14] [6] [AuditEvent=PROFILE_CERT_REQUEST][SubjectID=TPS-nocp1.idm.lab.eng.rdu2.redhat.com-25443][Outcome=Success][ReqID=79][ProfileID=caTokenUserEncryptionKeyEnrollment][CertSubject=UID=scuser1,O=Token Key User] certificate request made with certificate profiles
0.http-bio-21443-exec-16 - [01/Aug/2017:14:28:53 EDT] [14] [6] [AuditEvent=CERT_REQUEST_PROCESSED][SubjectID=TPS-nocp1.idm.lab.eng.rdu2.redhat.com-25443][Outcome=Success][ReqID=79][CertSerialNum=16151503] certificate request processed

TPS audit log:

0.http-bio-25080-exec-1 - [01/Aug/2017:14:28:43 EDT] [14] [6] [[AuditEvent=TOKEN_CERT_ENROLLMENT][IP=10.13.129.77][SubjectID=scuser1][CUID=4090614575C1240E0327][Outcome=success][tokenType=userKey][KeyVersion=0101][Serial=217734641][CA_ID=ca1][Info=null] token certificate enrollment request made
0.http-bio-25080-exec-1 - [01/Aug/2017:14:28:53 EDT] [14] [6] [[AuditEvent=TOKEN_CERT_ENROLLMENT][IP=10.13.129.77][SubjectID=scuser1][CUID=4090614575C1240E0327][Outcome=success][tokenType=userKey][KeyVersion=0101][Serial=16151503][CA_ID=ca1][Info=null] token certificate enrollment request made

Expected results:
key size information should be stored in the audit log messages

Additional info:

Comment 2 Matthew Harmsen 2017-10-25 16:29:23 UTC
[20171025] - RHEL 7.5 / RHCS 9.3 pre-Alpha Offline Triage ==> 7.6

Comment 3 Matthew Harmsen 2018-04-18 02:37:13 UTC
Per RHEL 7.5.z/7.6/8.0 Triage:  7.6

jmagne: low hanging and kind of useful info for audit log.

Comment 4 Matthew Harmsen 2018-07-04 00:25:58 UTC
Moved to RHEL 7.7.

Comment 5 Christina Fu 2020-02-09 18:42:22 UTC
I"m not sure where the requirement comes from irt cert request records having to contain key size info.
The Common Criteria pp_ca_v2.1 only states that for cert issuance, one could provide a link to the cert request.  In our case, we provide the cert request ID, which serves as a valid "link" to the actual cert request record, which contains all the info needed, including key size.

TPS is different in a way that it is an RA, which in success case, should contain serial number (which appears to be the case) and will properly link to the CA audit then cert request record.
In the failure case, in my opinion, it should contain a cert request id (if it got that far); otherwise there's not much one could do.

I don't see any TPS enrollment failure example in the description so I can't say if it has it or not.

Comment 6 Christina Fu 2020-02-11 20:22:27 UTC
per meeting discussion today.  We will close this as not a bug.  Feel free to open with explanation if disagree.


Note You need to log in before you can comment on or make changes to this bug.