Unable to verify server's identity: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

Latest response

I am trying to register but it shows only
"Unable to verify server's identity: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed "
Could you please help me out and How to register in Subscription Management
System : centos 8

Responses

Hi Manikandan,

Please execute the following commands ... :)

sudo subscription-manager remove --all
sudo subscription-manager unregister
sudo subscription-manager clean

sudo subscription-manager register
sudo subscription-manager refresh
sudo subscription-manager attach --auto

Regards,
Christian

Hi Christian Labisch,

Thanks for the quick response. Actually i did the same but still its showing the same error.

The issue That i pasted below. could you please help me out

[Manikandan-Verah@localhost ~]$ sudo subscription-manager remove --all

[sudo] password for Manikandan-Verah: 0 subscriptions removed from this system.

[Manikandan-Verah@localhost ~]$ sudo subscription-manager unregister This system is currently not registered.

[Manikandan-Verah@localhost ~]$ sudo subscription-manager clean All local data removed

[Manikandan-Verah@localhost ~]$ sudo subscription-manager register Registering to: subscription.rhsm.redhat.com:443/subscription Username: Manikandan-Verah Password: Unable to verify server's identity: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:877)

[Manikandan-Verah@localhost ~]$

Hi Manikandan,

Did you by chance forget to enable network during the installation process ? If you did, enable it. :)

Regards,
Christian