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

[MAN] pki ca-cert-request-submit fails presumably because of missing authentication even if it should not require any #2409

Closed
pki-bot opened this issue Oct 3, 2020 · 9 comments
Milestone

Comments

@pki-bot
Copy link

pki-bot commented Oct 3, 2020

This issue was migrated from Pagure Issue #2289. Originally filed by jpazdziora on 2016-04-20 23:23:57:


The man pki-cert(1) says:

   Then, fill in the values in the XML file and  submit  the
   request  for review.  This can be done without authentication.

   pki ca-cert-request-submit <request file>

Attempt to do that fails.

Steps to Reproduce:

1. Install and configure FreeIPA/IdM server.
2. Run pki ca-cert-request-profile-find
3. Run pki ca-cert-request-profile-show caInstallCACert --output template.xml
4. Run pki ca-cert-request-submit template.xml ; echo $?

Actual results:

UnauthorizedException: AuthCredentials.set()
255

Expected results:

No error, exit status 0, and the CSR submitted.

Additional Info:

Refer to https://bugzilla.redhat.com/show_bug.cgi?id=1316653 for more details.
@pki-bot pki-bot added this to the 10.3.9 milestone Oct 3, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2016-04-20 23:31:35

Per CS Triage held on 4/19/2016: 10.3.0 or 10.3.1

@pki-bot pki-bot closed this as completed Oct 3, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from edewata (@edewata) at 2016-04-22 10:33:47

The man page is inaccurate and should be fixed. Some profiles actually do require authentication:
http://pki.fedoraproject.org/wiki/Certificate_Profiles

The caInstallCACert is an internal profile used during PKI server installation. Also, it requires token authentication which is currently not supported by the pki CLI. A more general profile for CA certificates is probably the caCACert which does not require authentication.

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from edewata (@edewata) at 2016-04-25 21:47:57

Moved to 10.3.2 with other man page tickets.

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2016-06-24 02:18:53

Per PKI Bug Council of 06/23/2016: 10.3.4

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2016-08-08 22:48:34

Per CS/DS Meeting of 08/08/2016: 10.3.6

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from edewata (@edewata) at 2016-11-22 20:38:01

Fixed in master:

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2016-12-13 02:50:18

Replying to [comment:12 edewata]:

Fixed in master:

Cherry-picked to DOGTAG_10_3_BRANCH:

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from jpazdziora at 2017-02-27 14:08:28

Metadata Update from @jpazdziora:

  • Issue assigned to edewata
  • Issue set to the milestone: 10.3.9

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2017-07-10 17:17:39

Metadata Update from @mharmsen:

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