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 1643879 - CC: Identify version/release of pki-ca, pki-kra, pki-ocsp, pki-tks, and pki-tps remotely [RHEL] [rhel-7.6.z]
Summary: CC: Identify version/release of pki-ca, pki-kra, pki-ocsp, pki-tks, and pki-t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pki-core
Version: 7.6
Hardware: All
OS: All
high
high
Target Milestone: rc
: ---
Assignee: Jack Magne
QA Contact: Asha Akkiangady
Marc Muehlfeld
URL:
Whiteboard:
Depends On: 1624097
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-29 10:17 UTC by Oneata Mircea Teodor
Modified: 2019-01-29 17:22 UTC (History)
8 users (show)

Fixed In Version: pki-core-10.5.9-7.el7_6
Doc Type: Enhancement
Doc Text:
With this enhancement, users can display the product version of a Red Hat Certificate System subsystem if the redhat-pki-server-theme package is installed on the Certificate System server. If the package is installed, open the following URLs to display the version of the subsystems: * CA: http://<host_name>:8080/ca/admin/ca/getStatus * KRA: http://<host_name>:8080/kra/admin/kra/getStatus * OCSP: http://<host_name>:8080/ocsp/admin/ocsp/getStatus * TKS: http://<host_name>:8080/tks/admin/tks/getStatus * TPS: http://<host_name>:8080/tps/admin/tps/getStatus Note that the version of redhat-pki-server-theme must be identical to the installed subsystem packages, such as pki-ca, pki-kra, pki-ocsp, pki-tks, and pki-tps.
Clone Of: 1624097
Environment:
Last Closed: 2019-01-29 17:21:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0168 0 None None None 2019-01-29 17:22:01 UTC

Description Oneata Mircea Teodor 2018-10-29 10:17:58 UTC
This bug has been copied from bug #1624097 and has been proposed to be backported to 7.6 z-stream (EUS).

Comment 2 Matthew Harmsen 2018-10-29 21:59:46 UTC
 Jack Magne 2018-10-19 19:32:12 EDT

Test Procedure:

(1) install all 10.5.9 packages including redhat-pki-server-theme.
(2) Verify that the following file exists:

    % ls /usr/share/pki/CS_SERVER_VERSION
    /usr/share/pki/CS_SERVER_VERSION

    % cat /usr/share/pki/CS_SERVER_VERSION 
    Red Hat Certificate System 9.4

(3) Install a CA using default values
(4) Execute the following URL in a browser:
    
    https://<pki.example.com>:8443/ca/services

(5) Verify that the title reads:

    Red Hat® Certificate System 9.4

(6) Hover the mouse over the shadowman icon in the page; instructions to visit
     www.dogtagpki.org should be displayed

(7) Click on the shadowman icon to verify that the external Dogtag Wiki is
    displayed:

    http://www.dogtagpki.org/wiki/PKI_Main_Page

(8) Test the getStatus page for the CA like follows:

Use a browser and view the info at the following url:

http://<pki.example.com>:8080/ca/admin/ca/getStatus


It should look similar to this:

<XMLResponse>
<State>1</State>
<Type>CA</Type>
<Status>running</Status>
<Version>10.5.9-5.0.el7</Version>
<ProductVersion>Red Hat Certificate System 9.4</ProductVersion>
</XMLResponse>



(9) Install and test the other subsystems as follows:


* http://<pki.example.com>:8080/kra/admin/kra/getStatus
* http://<pki.example.com>:8080/ocsp/admin/ocsp/getStatus
* http://<pki.example.com>:8080/tks/admin/tks/getStatus
* http://<pki.example.com>:8080/tps/admin/tps/getStatus

Comment 4 bhavik 2018-11-15 12:32:49 UTC
Verified with redhat-pki-server-theme.noarch 0:10.5.9-1.el7pki

Steps followed as in comment #8

1. Installed all 10.5.9 packages including redhat-pki-server-theme

2. # cat /usr/share/pki/CS_SERVER_VERSION 
Red Hat Certificate System 9.4

3. https://<pki.example.com>:8443/ca/services Displays title as
Red Hat® Certificate System 9.4

4. Hovering over shadowman instructions to visit www.dogtagpki.org appears

5. clicking on shadowman logo takes to following page:
https://www.dogtagpki.org/wiki/PKI_Main_Page

6. Get status for subsystem result:

http://10.8.253.182:20080/ca/admin/ca/getStatus

<XMLResponse>
<State>1</State>
<Type>CA</Type>
<Status>running</Status>
<Version>10.5.9-7.el7_6</Version>
<ProductVersion>Red Hat Certificate System 9.4</ProductVersion>
</XMLResponse>

http://10.8.253.182:21080/kra/admin/kra/getStatus

<XMLResponse>
<State>1</State>
<Type>KRA</Type>
<Status>running</Status>
<Version>10.5.9-7.el7_6</Version>
<ProductVersion>Red Hat Certificate System 9.4</ProductVersion>
</XMLResponse>

http://10.8.253.182:22080/ocsp/admin/ocsp/getStatus

<XMLResponse>
<State>1</State>
<Type>OCSP</Type>
<Status>running</Status>
<Version>10.5.9-7.el7_6</Version>
<ProductVersion>Red Hat Certificate System 9.4</ProductVersion>
</XMLResponse>

http://10.8.253.182:23080/tks/admin/tks/getStatus

<XMLResponse>
<State>1</State>
<Type>TKS</Type>
<Status>running</Status>
<Version>10.5.9-7.el7_6</Version>
<ProductVersion>Red Hat Certificate System 9.4</ProductVersion>
</XMLResponse>

http://10.8.253.182:25080/tps/admin/tps/getStatus

<XMLResponse>
<State>1</State>
<Type>TPS</Type>
<Status>running</Status>
<Version>10.5.9-7.el7_6</Version>
<ProductVersion>Red Hat Certificate System 9.4</ProductVersion>
</XMLResponse>

Comment 6 errata-xmlrpc 2019-01-29 17:21:55 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-2019:0168


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