WebAssembly platforms for more information. I:/C=US/ST=North Carolina/O=Red Hat, Inc./OU=Red Hat Network/CN=Red Hat Entitlement Operations s:/C=US/ST=North Carolina/O=Red Hat, Inc./OU=Red Hat Network/CN=Red Hat Entitlement Operations Carolina/L=Raleigh/O=Red Hat, Inc.This module does not work or is not available on WebAssembly platforms Openssl s_client -port 443 -CApath /etc/pki/entitlement/ -host -prexit -cert 6666666666666666666.pem -key 6666666666666666666-key.pemĭepth=1 C = US, ST = North Carolina, O = "Red Hat, Inc.", OU = Red Hat Network, CN = Red Hat Entitlement Operations Authority, emailAddress = error:num=20:unable to get local issuer certificateĠ s:/C=US/ST=NORTH CAROLINA/L=Raleigh/O=Red Hat, Inc./OU=IT/CN= GET /content/dist/rhel/server/5/5Server/x86_64/cf-tools/1.0/os/repodata/repomd.xml HTTP/1.1 * About to connect() to proxy port 3128 (#0) Check if there are some restrictions on the firewall or proxy itself How do I configure my firewall so that I can access the Red Hat Subscription Manager (RHSM) and Red Hat Network (RHN)?Ĭurl -head -key /etc/pki/entitlement/4790939584130415916-key.pem -E /etc/pki/entitlement/4790939584130415916.pem -k -x :3128 -verbose -H "Cache-control: no-cache" -H "Pragma: no-cache" -cacert /etc/rhsm/ca/redhat-uep.pem It's showing the problem is between proxy server and RHN. The system was able to connect to :443 through the proxy server:.There should be something like this in the strace: Mv /usr/lib64/python2.6/httplib.py.orig /usr/lib64/python2.6/httplib.py Strace -ttT -s1024 -v -o /tmp/ yum -d10 check-update Sed -i.orig 's/debuglevel = 0/debuglevel = 1/g' /usr/lib64/python2.6/httplib.py Repo Url: $releasever/$basearch/cf-tools/1.0/os Repo Name: Red Hat CloudForms Tools for RHEL 6 (RPMs) Repo Name: Red Hat Enterprise Linux 6 Server (RPMs) # date & subscription-manager -proxy=:3128 repos -listĮntitled Repositories in /etc//redhat.repo # date & subscription-manager -proxy=:3128 list -consumed Product Name: Red Hat Enterprise Linux Server # date & subscription-manager -proxy=:3128 subscribe -auto ProductName: Red Hat Enterprise Linux Server, Self-support (1-2 sockets) # date & subscription-manager -proxy=:3128 list -available * Proxy auth using Basic with user 'username' * About to connect() to proxy port 8080 (#0) The communication is not properly established with the correct certificates: # curl -v -proxy-user user:password -proxy :8080 -cacert /etc/rhsm/ca/redhat-uep.pem When using a http proxy with RHSM, the proxy settings need to be put in /etc/rhsm/nf (and not /etc/yum.conf).Ĭheck if a system is using standard curl package from Red Hat.Īdditional information: RHSM Subscription Issues Troubleshooting Do's and Don'ts Root Cause or- # subscription-manager attach -pool=POOLID If the UUID does not match, refresh the subscription data from system: # subscription-manager refresh Then enter the system's UUID in the filter box to see if it matches. Check the system's UUID on the Customer Portal: Go to -> Subscriptions -> Systems (under the subheading Subscriber Inventory) or open.Get the UUID from the system: # openssl x509 -in /etc/pki/consumer/cert.pem -noout -text| grep 'Subject: CN' Sometimes proxies are configured to resign SSL communication (similar to man-in-the-middle attack).Ĭrosscheck if UUID of system matches on the Customer Portal: Check if a proxy (or anything between the server and Red Hat) is not changing the SSL certificate.: problem making ssl connectionĮrror: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-server-cf-tools-1-rpms. Loaded plugins: downloadonly, product-id, subscription-manager Let's troubleshoot this error for example: # yum check-update In general, this can help solve many errors. The following steps can be used for basic troubleshooting on subscription-manager and yum issues.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |