[Pulp-list] Viewing a fresh list of all cdn.redhat.com protected repos

Kodiak Firesmith kfiresmith at gmail.com
Tue Dec 8 21:35:38 UTC 2015


To add to my last message, I've since synced non-Red Hat CDN repos (eg: the
Foreman yum repo) and that seems to be working just fine through our
enterprise Blue Coat proxy appliance.  So it seems I'm only having problems
 retrieving repos from cdn.redhat.com.

Thanks again!
 - Kodiak


On Tue, Dec 8, 2015 at 2:51 PM, Kodiak Firesmith <kfiresmith at gmail.com>
wrote:

> Hello Pulp folks,
> I followed the recipe for syncing a protected repo using the feed listed
> in the example* (
> https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os), to
> which I received the error: "Task Failed - Error retrieving metadata: Not
> found".  This led me down the road of trying to verify such a path still
> exists - work that I needed to do anyhow - and try to get a fresh list of
> cdn.redhat.com repos via my  downloaded entitlement certificate.  The
> problem I ran into is that I can't figure out the right openssl command to
> view the full contents of the downloaded entitlement cert
> (<longstring>.pem).  The entitlement cert has the following blocks:
>
> -----BEGIN CERTIFICATE-----
> -----END CERTIFICATE-----
> -----BEGIN ENTITLEMENT DATA-----
> -----END ENTITLEMENT DATA-----
> -----BEGIN RSA SIGNATURE-----
> -----END RSA SIGNATURE-----
> -----BEGIN RSA PRIVATE KEY-----
> -----END RSA PRIVATE KEY-----
>
> I'm guessing the list of repo paths I need are all embedded within
> "{BEGIN,END} ENTITLEMENT DATA", but thus far I've not figured out how to
> decrypt it.
>
> I tried splitting out the RSA private key block into a file
> (entitlement.key) and the entitlement data block into entitlement-data.pem,
> then run:
>
> openssl enc -in entitlement-data.pem  -out entitlement-binary -d -a
> openssl rsautl -decrypt -in entitlement-binary -out plaintext -inkey
> entitlement.key
> ...but that doesn't work and it's just something I found via google so I
> could be way off.
>
> So anyhow - does anyone have the details on how to get a listing of all
> the cdn.redhat.com feed paths for Pulp?
>
> Thanks!
>  - Kodiak
>
> *
> https://pulp-rpm.readthedocs.org/en/latest/user-guide/recipes.html#sync-a-protected-repo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20151208/1f78debf/attachment.htm>


More information about the Pulp-list mailing list