Description of problem: Pulp consumer hard codes the file path for the consumer certificate in 'credentials.py': ROOT = '/etc/pki/consumer' CRT = 'cert.pem' We would like to see this a configurable parameter. Intent being to support the ability for a developer to run subscription-manager and pulp-consumer on the same development box.
As a first step, we should change our hard coded path to /etc/pki/consumer/pulp/cert.pem to resolve the conflict. If for some reason users still want to point to an arbitrary place for the pulp cert, we can open an RFE to make it configurable. The down side to making this (and any property) configurable without an explicit use case is that it makes configuration more complex and introduces risk and potential support issues without adding value.
Fixed: b5b1eee92b4c0abb572d8264061cef15b02729fd Made configurable in /etc/pulp/consumer/consumer.conf: [client] consumer_cert = /etc/pki/consumer/pulp/cert.pem Notice, I also changed the default directory of the certificate to: /etc/pki/consumer/pulp/cert.pem to avoid conflicts with rhsm.
build: 0.244
verified [root@preethi ~]# rpm -q pulp pulp-0.0.248-1.fc15.noarch
Pulp v1.0 is released Closed Current Release.