-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subscription based entitlements/certificates (RHEL7 support) #71
Comments
@dagwieers asked to gather all information in this issue so a good approach to support it can be found. To access any data: client side certificates are used for access to the RH CDN at Once authenticated, it's just a yum repository. |
I think reposync can be adapted and mrepo can take care of the certificate storage, not sure about getting the certs from redhat though |
To expand on what jhoekx said: The client certificate you need is the entitlement certificate, not the identify certificate. Although it's possible to create a system ("Unit") through the RHN gui and grant it an entitlement, that certificate won't work unless a system has registered itself to it, apparently. The certificates are stored locally on the system in /etc/pki/entitlement, if the system is registered. The changes committed to https://github.com/agmt/mrepo are almost sufficient to pull down RHEL 7 packages with mrepo, the only thing is missing is to define the CA cert in lftp. Once I added that it worked for me. |
Hello Guys, I need help on mrepo. Shortly to say I've RHEL 6.6 system on which I've configured mrepo. Now I want to create repository for RHEL 7, Could you please give me steps to create repository for RHEL 7 . === Error== |
I've configured repo file for rhel 7 in /etc/mrepo.conf.d/ here is file [rhel7Server] ISO imagesiso = rhel-server-$release.?-$arch-dvd.iso supp-server-$release.?-rhel-$release-$arch-dvd.iso os = https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os could you please let me know from which location which certificates files need to be copied. |
When will you have a compatible version of RHEL 7? |
It seems, since RHEL7 there is no support for the RedHat Network (RHN) anymore, so the apporach with gensystemid would result in the message posted by arajnor. For RHEL7 you have to register your system for on of your subskriptions using the subscription-manager tool (https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html-single/RHSM/index.html). Since our subscription does not contain repositories I can only assume, that MREPO could be able to connect to these repositories. But there could also be another problem, since the RHSM has certificate verficiation for the client side. Is MREPO capable of the sslkey,sslcert and sslca parameters? Because in my setup MREPO interprets them as repositories... |
Well, time to clean up the up2date mess 👍
The text was updated successfully, but these errors were encountered: