Convert2RHEL fails when "subscription-manager-rhsm-certificates" package is installed

Solution Verified - Updated -

Issue

  • Convert2RHEL fails when "subscription-manager-rhsm-certificates" package is installed
TASK - [Convert: Subscription Manager - Replace] **************************
Unregistering the system.
WARNING - System unregistration result:
This system is currently not registered.

Removing installed subscription-manager/katello-ca-consumer packages.
Upon continuing, we will uninstall the following subscription-manager/katello-ca-consumer packages:

Package                                                      Vendor/Packager  Repository
-------                                                      ---------------  ----------
dnf-plugin-subscription-manager-1.28.21-3.el8.x86_64         CentOS           @baseos
python3-subscription-manager-rhsm-1.28.21-3.el8.x86_64       CentOS           @baseos
subscription-manager-1.28.21-3.el8.x86_64                    CentOS           @baseos
subscription-manager-rhsm-certificates-1.28.21-3.el8.x86_64  CentOS           @baseos


Continue with the system conversion? [y/n]: y


Backing up dnf-plugin-subscription-manager.
Successfully downloaded the dnf-plugin-subscription-manager package.
Backing up python3-subscription-manager-rhsm.
Successfully downloaded the python3-subscription-manager-rhsm package.
Backing up subscription-manager.
Successfully downloaded the subscription-manager package.
Backing up subscription-manager-rhsm-certificates.
Successfully downloaded the subscription-manager-rhsm-certificates package.
Removing package: dnf-plugin-subscription-manager
Removing package: python3-subscription-manager-rhsm
Removing package: subscription-manager
Removing package: subscription-manager-rhsm-certificates
Checking for subscription-manager RPMs.
Installing subscription-manager RPMs.
CentOS Linux 8 - AppStream                      954 kB/s | 8.4 MB     00:09    
CentOS Linux 8 - BaseOS                         942 kB/s | 4.6 MB     00:04    
CentOS Linux 8 - Extras                          16 kB/s |  10 kB     00:00    
Convert2RHEL for OS 8                           0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'convert2rhel-for-rhel-8-rpms':
  - Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://cdn.redhat.com/content/public/convert2rhel/8/x86_64/os/repodata/repomd.xml [error setting certificate verify locations:
  CAfile: /etc/rhsm/ca/redhat-uep.pem
  CApath: none]
Error: Failed to download metadata for repo 'convert2rhel-for-rhel-8-rpms': Cannot download repomd.xml: Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://cdn.redhat.com/content/public/convert2rhel/8/x86_64/os/repodata/repomd.xml [error setting certificate verify locations:
  CAfile: /etc/rhsm/ca/redhat-uep.pem
  CApath: none]
CRITICAL - Failed to install subscription-manager packages. See the above yum output for details.
WARNING - Abnormal exit! Performing rollback ...

Environment

  • Red Hat Enterprise Linux 8
  • CentOS Linux 8
  • Oracle Linux 8
  • convert2rhel-1.0-1.el8.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content