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 1271934 - ipa cert-request with missing fqdn in principal deserves better error message
Summary: ipa cert-request with missing fqdn in principal deserves better error message
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-15 06:27 UTC by Abhijeet Kasurde
Modified: 2019-01-10 21:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-10 21:57:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Abhijeet Kasurde 2015-10-15 06:27:59 UTC
Description of problem:
If ipa cert-request is given with blank FQDN in principal gives error 

ipa: ERROR: 'fqdn' is required

Rather than this message, it deserves better message like 

ipa: ERROR: The Fully Qualified Domain name for principal is required


Version-Release number of selected component (if applicable):
ipa-server-4.2.0-13.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. openssl req -nodes -newkey rsa:2048 -keyout example.key -out example.csr -subj "/C=US/ST=CA/L=Mountain View/O=IPA/OU=QA/CN=ipaserver1.testrelm.test"
2. ipa cert-request example.csr --add --principal=service/ --request-type=invalid

Actual results:
Error message like 
ipa: ERROR: 'fqdn' is required

Expected results:
Error message like 
ipa: ERROR: The Fully Qualified Domain name for principal is required

Additional info:

Comment 2 Petr Vobornik 2015-10-19 18:39:48 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5382

Comment 3 Petr Vobornik 2017-04-06 16:29:10 UTC
IdM team doesn't have capacity to fix this bug for RHEL 7.4. Moving to next RHEL version. Fixing the bug there will depend on capacity of FreeIPA upstream. Without sufficient  justification there is a chance that it will be moved again later.

Comment 6 Rob Crittenden 2019-01-10 21:57:04 UTC
Thank you taking your time and submitting this request for Red Hat Enterprise Linux. The request was cloned to the upstream tracker a long time ago (see link to the upstream ticket above), but it was unfortunately not given priority either in the upstream project, nor in Red Hat Enterprise Linux.

Given that this request is not planned for a close release, it is highly unlikely it will be fixed in this major version of Red Hat Enterprise Linux. We are therefore closing the request as WONTFIX.

To request that Red Hat reconsiders the decision, please reopen the Bugzilla with the help of Red Hat Customer Service and provide additional business and/or technical details about it's importance to you. Please note that you can still track this request or even offer help in the referred upstream Pagure ticket to expedite the solution.


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