Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1449985

Summary: Suggest CA installation command in KRA installation warning
Product: Red Hat Enterprise Linux 7 Reporter: Abhijeet Kasurde <akasurde>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: low Docs Contact:
Priority: low    
Version: 7.4CC: fbarreto, ksiddiqu, pvoborni, rcritten, tscherf, xdong
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ipa-4.5.4-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 16:40:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Abhijeet Kasurde 2017-05-11 09:54:50 UTC
Description of problem:
As user, I would like to see CA installation command in KRA installation warning. 

It will be very handy for administrators. The fix for bug will make warning message similar to other installer message where, it suggests command.


# ipa-kra-install
Directory Manager password:

Dogtag CA is not installed. Please install the CA first
The ipa-kra-install command failed. See /var/log/ipaserver-kra-install.log for more information

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

How reproducible:
100%

Steps to Reproduce:
1. try install KRA without CA

Actual results:
no command suggestion related to CA installation.

Expected results:
Please install the CA first using `ipa-ca-install'

Comment 2 Petr Vobornik 2017-05-15 15:22:36 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/6952

Comment 4 fbarreto 2017-10-17 14:05:52 UTC
Fixed upstream
master:
https://pagure.io/freeipa/c/48dc9bb9ba86c0708d9042852470f3b968231150

Comment 5 fbarreto 2017-10-17 15:28:47 UTC
Fixed upstream
ipa-4-5:
https://pagure.io/freeipa/c/7fb25bfffd9324021b3951a1418fa84d5ac20f00

Comment 6 fbarreto 2017-10-17 15:30:02 UTC
Fixed upstream
ipa-4-6:
https://pagure.io/freeipa/c/ca09c180a0d751e0e995b83434062bd164021267

Comment 8 Xiyang Dong 2018-01-18 02:19:27 UTC
Verified on ipa-server-4.5.4-8.el7:
:: [  BEGIN   ] :: Running 'ipa-server-install -U             --setup-dns --forwarder=10.16.36.29 -r TESTRELM.TEST             -a Secret123 -p Secret123             --http-cert-file ~/test_ca/servercert.p12             --dirsrv-cert-file ~/test_ca/servercert.p12             --http-pin Secret123             --dirsrv-pin Secret123             --ca-cert-file ~/test_ca/cacert.pem --no-pkinit'

The log file for this installation can be found in /var/log/ipaserver-install.log
==============================================================================
This program will set up the IPA Server.

This includes:
  * Configure the Network Time Daemon (ntpd)
  * Create and configure an instance of Directory Server
  * Create and configure a Kerberos Key Distribution Center (KDC)
  * Configure Apache (httpd)
  * Configure DNS (bind)
.
.
.
==============================================================================
Setup complete

Next steps:
	1. You must make sure these network ports are open:
		TCP Ports:
		  * 80, 443: HTTP/HTTPS
		  * 389, 636: LDAP/LDAPS
		  * 88, 464: kerberos
		  * 53: bind
		UDP Ports:
		  * 88, 464: kerberos
		  * 53: bind
		  * 123: ntp

	2. You can now obtain a kerberos ticket using the command: 'kinit admin'
	   This ticket will allow you to use the IPA tools (e.g., ipa user-add)
	   and the web user interface.

In order for Firefox autoconfiguration to work you will need to
use a SSL signing certificate. See the IPA documentation for more details.

# ipa-kra-install
Directory Manager password: 

Dogtag CA is not installed. Please install a CA first with the `ipa-ca-install` command.
The ipa-kra-install command failed. See /var/log/ipaserver-kra-install.log for more information

Comment 11 errata-xmlrpc 2018-04-10 16:40:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0918