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

rhcs81 caManualRenewal with original profile modified for empty params.name creates root CA subject DN #1389

Closed
pki-bot opened this issue Oct 2, 2020 · 4 comments
Milestone

Comments

@pki-bot
Copy link

pki-bot commented Oct 2, 2020

This issue was migrated from Pagure Issue #822. Originally filed by nkinder (@nkinder) on 2014-01-13 19:48:13:


rhcs81 caManualRenewal with original profile modified for empty params.name
creates root CA subject DN

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux Server release 5.9 (Tikanga)
redhat-ds-base-8.2.11-5.el5dsrv
pki-ca-8.1.5-1.el5pki

How reproducible:
always

Steps to Reproduce:
1.have user directory
2.have CA
3.duplicate profile caDirUserCert
4. modify subjectNameConstraintImpl to add a params:

policyset.set1.1.constraint.class_id=subjectNameConstraintImpl
policyset.set1.1.constraint.name=Subject Name Constraint
policyset.set1.1.constraint.params.pattern=.*
policyset.set1.1.default.class_id=subjectNameDefaultImpl
policyset.set1.1.default.name=Subject Name Default
policyset.set1.1.default.params.name=$request.auth_token.tokenCertSubject$

  1. enroll
  2. stop CA and modify the custom profile to remove the variable
    policyset.set1.1.default.params.name=
    start CA
  3. try to renew
    http://ca1.example.com:9180/ca/ee/ca/profileSelect?profileId=caManualRenewal

Actual results:
a certificate is issued
but the subject DN is unexpected, it is the root CA (!)

@pki-bot pki-bot added this to the 10.2.2 milestone Oct 2, 2020
@pki-bot pki-bot closed this as completed Oct 2, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from mharmsen (@mharmsen) at 2014-09-18 03:03:54

Proposed Milestone: 10.2.3 (per CS Meeting of 09/17/2014)

@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from mharmsen (@mharmsen) at 2015-01-15 01:07:59

Per Dogtag 10.2.X meeting of 01/14/2015: Milestone 10.2.2

@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from cfu (@cfu) at 2015-02-12 22:19:10

pushed to master
commit 98b2407

@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from nkinder (@nkinder) at 2017-02-27 14:09:04

Metadata Update from @nkinder:

  • Issue assigned to cfu
  • Issue set to the milestone: 10.2.2

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

No branches or pull requests

1 participant