| Summary: | Can not import a certificate via the cli | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Mike Khusid <mkhusid> |
| Component: | subscription-manager | Assignee: | Chris Duryee <cduryee> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.7 | CC: | andriusb, bkearney, dlackey, jmolet, jofernan, rleander, skallesh, wpoteat, xdmoon |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
It was decided a long time ago that a Command Line Interface "root" user could accomplish import using: cp <import_file> /etc/pki/entitlement
The design has changed so that an entitlement cert from rhsm-web can now have a key appended. As such a CLI import function makes sense to handle splitting the contents of the import file.
|
Story Points: | --- |
| Clone Of: | 730380 | Environment: | |
| Last Closed: | 2012-02-21 06:31:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 730380 | ||
| Bug Blocks: | 715031 | ||
|
Description
Mike Khusid
2011-08-22 18:20:13 UTC
Master as of 20 October supports this, so 5.8 will supprot this. Bug report changed to ON_QA status by Errata System. A QE request has been submitted for advisory RHBA-2011:12204-01 http://errata.devel.redhat.com/errata/show/12204 Moving the bug to verified... RPM used: [root@tiger entitlement]# rpm -qa | grep subscription-manager subscription-manager-gnome-0.98.3-1.git.16.14460bc.el5_7 subscription-manager-firstboot-0.98.3-1.git.16.14460bc.el5_7 subscription-manager-migration-0.98.3-1.git.16.14460bc.el5_7 subscription-manager-0.98.3-1.git.16.14460bc.el5_7 Steps to verify: [root@tiger entitlement]# subscription-manager import --certificate=/shwetha.pem Successfully imported certificate shwetha.pem [root@tiger entitlement]# ll total 16 -rw-r--r-- 1 root root 1678 Nov 24 03:26 596101531355637997-key.pem -rw-r--r-- 1 root root 1788 Nov 24 03:26 596101531355637997.pem
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
It was decided a long time ago that a Command Line Interface "root" user could accomplish import using: cp <import_file> /etc/pki/entitlement
The design has changed so that an entitlement cert from rhsm-web can now have a key appended. As such a CLI import function makes sense to handle splitting the contents of the import file.
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. http://rhn.redhat.com/errata/RHBA-2012-0154.html |