Hi,
I am having problems with add a new repos or attach a new subscription/pool ID.
I am obliged to refresh the subscription data from system with "subscription-manager refresh" or "subscription-manager register --username XXX --password XXX --force".
This method generates new certificates. After that, I have to modify "redhat-dtmrepo.repo" file with the new certificates.
If add a new repos, I have to retrieve the syntax from another system to add it in "redhat-dtmrepo.repo" file.
For example, I must add these lines :
[rhel-7-xxxx-rpms]
metadata_expire = 86400
sslclientcert = /etc/pki/entitlement/XXXX.pem
baseurl = https://cdn.redhat.com/xxx
proxy = XXXX
ui_repoid_vars = releasever basearch
sslverify = 1
name = Red Hat Enterprise Linux xxx (RHEL 7 Server) (RPMs)
sslclientkey = /etc/pki/entitlement/XXXX-key.pem
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled = 0
sslcacert = /etc/rhsm/ca/redhat-uep.pem
gpgcheck = 1_
Have you any idea to avoid this behavior ?
Thanks !
Hi,
I am having problems with add a new repos or attach a new subscription/pool ID.
I am obliged to refresh the subscription data from system with "subscription-manager refresh" or "subscription-manager register --username XXX --password XXX --force".
This method generates new certificates. After that, I have to modify "redhat-dtmrepo.repo" file with the new certificates.
If add a new repos, I have to retrieve the syntax from another system to add it in "redhat-dtmrepo.repo" file.
For example, I must add these lines :
Have you any idea to avoid this behavior ?
Thanks !