[katello-devel] Subscription Manager with credentials
Bryan Kearney
bkearney at redhat.com
Thu Sep 15 18:16:22 UTC 2011
Got alot further this time on the basic patch management stories. Latets
issue is because of certifiates.
If i register a consumer, it uses basic auth. Future calls use an
identity certificate. Here is an example.
Register a machine using subscription manager. Assume the machines UUID
is now:
a7a248fd-9c53-4b01-b4ee-cb83f5469bb0
the following command will work:
sudo curl -k --user "admin:admin"
https://10.11.230.185/katello/api/consumers/a7a248fd-9c53-4b01-b4ee-cb83f5469bb0
the following will not
sudo curl -k --cert /etc/pki/consumer/cert.pem --key
/etc/pki/consumer/key.pem
https://10.11.230.185/katello/api/consumers/a7a248fd-9c53-4b01-b4ee-cb83f5469bb0
The identity ceritifcate carries the ID of the consumer and needs to be
extracted. Both calls should have worked.
https://bugzilla.redhat.com/show_bug.cgi?id=738762
-- bk
More information about the katello-devel
mailing list