Bug 2162130
Summary: | hammer acs show does not show any SSL related fields | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Vladimír Sedmík <vsedmik> |
Component: | Alternate Content Sources | Assignee: | Chris Roberts <chrobert> |
Status: | CLOSED ERRATA | QA Contact: | Jeremy Lenz <jlenz> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.13.0 | CC: | chrobert, jlenz, pcreech |
Target Milestone: | 6.13.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rubygem-hammer_cli_katello-1.7.3-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-03 13:24:33 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
Vladimír Sedmík
2023-01-18 20:47:22 UTC
Hi Vladimir, Does the UI or API show the SSL fields? Thanks! Hey Brad, yes, UI and API show the fields, just the hammer does not pick them # curl -sku admin:password -H "Content-type: application/json" -X GET https://$(hostname)/katello/api/alternate_content_sources/171 | json_reformat { ... "verify_ssl": false, "use_http_proxies": false, "id": 171, "ssl_ca_cert": null, "ssl_client_cert": { "id": 2, "name": "RHUI" }, "ssl_client_key": { "id": 2, "name": "RHUI" }, ... } Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36052 has been resolved. Verified in 6.13 snap 14 1. I have the correct version of hammer-cli-katello. Clearing needinfo. [root@dhcp-3-54 ~]# rpm -qa | grep hammer* rubygem-hammer_cli_katello-1.7.3-1.el8sat.noarch 2. Verify SSL, SSL CA Cert, SSL Client Cert, and SSL Client Key are all shown in the hammer output. [root@dhcp-3-54 ~]# hammer alternate-content-source show --id 1 ID: 1 Name: myCustom Label: myCustom Description: Base URL: http://google.com Content type: yum Alternate content source type: custom Verify SSL: true SSL CA Cert: 1) Id: 1 Name: Debug Cert dhcp-3-54.vms.sat.rdu2.redhat.com SSL Client Cert: 1) Id: 1 Name: Debug Cert dhcp-3-54.vms.sat.rdu2.redhat.com SSL Client Key: 1) Id: 1 Name: Debug Cert dhcp-3-54.vms.sat.rdu2.redhat.com Subpaths: Smart proxies: 1) Id: 1 Name: dhcp-3-54.vms.sat.rdu2.redhat.com URL: https://dhcp-3-54.vms.sat.rdu2.redhat.com:9090 Download policy: on_demand 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 (Important: Satellite 6.13 Release), 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/RHSA-2023:2097 |