<div dir="ltr"><div class="gmail_extra">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 <a href="http://cdn.redhat.com">cdn.redhat.com</a>.  </div><div class="gmail_extra"><br>Thanks again!</div><div class="gmail_extra"> - Kodiak</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 8, 2015 at 2:51 PM, Kodiak Firesmith <span dir="ltr"><<a href="mailto:kfiresmith@gmail.com" target="_blank">kfiresmith@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Pulp folks,<div>I followed the recipe for syncing a protected repo using the feed listed in the example* (<a href="https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os" target="_blank">https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os</a>), 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 <a href="http://cdn.redhat.com" target="_blank">cdn.redhat.com</a> 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:</div><div><br></div><div>-----BEGIN CERTIFICATE-----<br></div><div><div>-----END CERTIFICATE-----</div><div>-----BEGIN ENTITLEMENT DATA-----</div></div><div><div>-----END ENTITLEMENT DATA-----</div><div>-----BEGIN RSA SIGNATURE-----</div></div><div><div>-----END RSA SIGNATURE-----</div><div>-----BEGIN RSA PRIVATE KEY-----</div></div><div>-----END RSA PRIVATE KEY-----<br></div><div><br></div><div>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.</div><div><br></div><div>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:</div><div><br></div><div>openssl enc -in entitlement-data.pem  -out entitlement-binary -d -a<br></div><div>openssl rsautl -decrypt -in entitlement-binary -out plaintext -inkey entitlement.key<br></div><div>...but that doesn't work and it's just something I found via google so I could be way off.  </div><div><br></div><div>So anyhow - does anyone have the details on how to get a listing of all the <a href="http://cdn.redhat.com" target="_blank">cdn.redhat.com</a> feed paths for Pulp?</div><div><br></div><div>Thanks!</div><div> - Kodiak</div><div><br></div><div>* <a href="https://pulp-rpm.readthedocs.org/en/latest/user-guide/recipes.html#sync-a-protected-repo" target="_blank">https://pulp-rpm.readthedocs.org/en/latest/user-guide/recipes.html#sync-a-protected-repo</a><br></div></div>
</blockquote></div><br></div></div>