| Summary: | Can not use subscription-manager config to set repo_ca_cert | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Bryan Kearney <bkearney> |
| Component: | subscription-manager | Assignee: | Adrian Likins <alikins> |
| Status: | CLOSED NOTABUG | QA Contact: | Entitlement Bugs <entitlement-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | alikins |
| Target Milestone: | beta | ||
| Target Release: | 6.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-06 15:58:50 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: | |||
| Bug Blocks: | 738066 | ||
|
Description
Bryan Kearney
2011-12-13 17:41:29 UTC
What kind of problems are you seeing with this? sudo src/subscription-manager config --rhsm.repo_ca_cert="(ca_cert_dir)sdfgsdfgsfg" seems to work for me ( value has to be shell quoted, but otherwise works) The code works for me so long as you put the argument in single quotes or escape the parenthesis with backslashes. But you'd have to do that for any argument anywhere with special characters that the shell tries to interpret. E.g. [root@rhel6-2 subscription-manager]# PYTHONPATH=../python-rhsm/src/:./src src/subscription-manager config --rhsm.repo_ca_cert='%(ca_cert_dir)sfoobar.pem' [root@rhel6-2 subscription-manager]# PYTHONPATH=../python-rhsm/src/:./src src/subscription-manager config --list | grep repo_ca_cert repo_ca_cert = [/etc/rhsm/ca/redhat-uep.pem] repo_ca_cert = /etc/rhsm/ca/foobar.pem repo_ca_cert = [/etc/rhsm/ca/redhat-uep.pem] |