Description of problem: Version-Release number of selected component (if applicable): How reproducible: 2/2 Prerequisite: candlepin : on-premises client : rhel 6 steps to repro : Register client to candlepin using testuser1 execute following command on client console curl -k -u admin:admin https://on-premises url :8443/candlepin/consumers/consumer ident Expected Result : Proper message should display with owner info of registered user Actual Result : Got Long message with client facts info and private key we already have command for facts so we dont need this . And it should not display private key
http://pastebin.test.redhat.com/49659
Curl is not part of subscription-manager... it is a tool for making straight HTTP requests, which is a common tool when you need to debug and test a REST API. Running curl against the API is returning straight JSON, which subscription-manager uses to work properly. It is not anything a user should ever have to do. I am confused as to exactly what command you are running, are you literally running: "curl -k -u admin:admin https://mymachine:8443/candlepin/consumers/consumer ident"? Is "ident" meant to be "identity"? This is a subcommand for subscription-manager, not curl... ident here is probably quite meaningless... It also supposed to be "consumers" in the URL, not "consumer". Additionally the pastebin included is empty. If you run something like: "curl -k -u admin:admin https://localhost:8443/candlepin/consumers/8c56238b-2238-45e3-a84b-b632445aca64" You will see the owner info is present in that JSON. The private key information is required here, it is how the client actually gets it's private key. But again, curl is not part of subscription-manager, and If I had to guess I'd say you're probably looking for "subscription-manager identity"? Closing as I'm quite sure this is notabug.