Thank you Johan:

    You are correct, this is for Red Hat repos.

    When I ran your command, it kept failing.  But, if I removed the "run" option, and added "--feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem ", it worked. (not sure if I needed the --feed-ca-cert option, but it worked so I wanted to add exactly what I did)

    This worked:  pulp-admin rpm repo update --repo-id example-repo --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem  \
        --feed-key=/etc/pki/entitlement/new-key.pem --feed-cert=/etc/pki/entitlement/new-cert.pem


thanks,

Paul
On 12/03/2014 03:02 PM, johan petersson wrote:
Hi,

I assume we are talking about Red Hat repositories here.
You need to update the pulp repositories with the new certs and keys that you got after renewing the subscriptions attached to your pulp server.

Example: pulp-admin rpm repo update run --repo-id example-repo --feed-key=/etc/pki/entitlement/new-key.pem --feed-cert=/etc/pki/entitlement/new-cert.pem

Remember that if you got repositories from different subscriptions they have different keys and certs.

Regards,
Johan

On Wed, Dec 3, 2014 at 7:30 PM, Paul Jochum <[email protected]> wrote:
Hi all:

    Over the couple of days, the files /etc/pki/entitlements/*-key.pem and /etc/pki/entitlements/*.pem changed on my pulp server.  Because of the change, all of my "pulp-admin -u admin -p admin rpm repo sync run --repo-id=$i" tasks fail, with the message "Forbidden".

    My question: is there a way to update all of the repos with the new entitlement keys?

thanks,

Paul

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list


_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to