Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ca-profile-mod with multiple userExtensionDefaultImpl #3263

Open
pki-bot opened this issue Oct 3, 2020 · 2 comments
Open

Support for ca-profile-mod with multiple userExtensionDefaultImpl #3263

pki-bot opened this issue Oct 3, 2020 · 2 comments

Comments

@pki-bot
Copy link

pki-bot commented Oct 3, 2020

This issue was migrated from Pagure Issue #3146. Originally filed by cipherboy (@cipherboy) on 2020-03-16 09:20:41:


Created attachment 1458553 [details]
profile.xml

Description of problem:

In current case, If we have more than one userExtensionDefaultImpl
ca-profile-mod doesn't work and failed with:

[12/Jul/2018:15:59:42][http-bio-8443-exec-13]: BasicProfile: createProfilePolicy:  config created.
[12/Jul/2018:15:59:42][http-bio-8443-exec-13]: BasicProfile: createProfilePolicy: ends
[12/Jul/2018:15:59:42][http-bio-8443-exec-13]: BasicProfile: createProfilePolicy: begins
[12/Jul/2018:15:59:42][http-bio-8443-exec-13]: WARNING attempt to add duplicate Policy userExtensionDefaultImpl:noConstraintImpl Contact System Administrator.
[12/Jul/2018:15:59:42][http-bio-8443-exec-13]: SignedAuditLogger: event CONFIG_CERT_PROFILE
[12/Jul/2018:15:59:42][http-bio-8443-exec-13]: changeProfileData: Error changing profile inputs/outputs/policies: Attempt to add duplicate Policy : userExtensionDefaultImpl:noConstraintImpl

Note: This feature can be a requirement for lab as they wanted to include many certificate request extensions.

--- Workaround--Use ca-profile-edit instead of ca-profile-mod

Version-Release number of selected component (if applicable):

pki-ca-10.5.1-13.1.el7_5.noarch

How reproducible:

always

Steps to Reproduce:

  1. Use the profile_1.xml and try to perform ca-profile-mod operation.

Actual results:

Failures in ca-profile-mod when more than one userExtensionDefaultImpl:noConstraintImpl exist in a profile

Expected results:

Should work like the way mod works with other regular profiles.

Additional info:

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from cipherboy (@cipherboy) at 2020-03-16 09:20:54

Metadata Update from @cipherboy:

  • Custom field component adjusted to None
  • Custom field feature adjusted to None
  • Custom field origin adjusted to None
  • Custom field proposedmilestone adjusted to None
  • Custom field proposedpriority adjusted to None
  • Custom field reviewer adjusted to None
  • Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1600708
  • Custom field type adjusted to None
  • Custom field version adjusted to None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant