DEV Community

Cover image for Disabling SSL Certificate Verification for RedHat Subscriptions
Doğukan Eren for OpenLAB

Posted on

Disabling SSL Certificate Verification for RedHat Subscriptions

If you encounter an error during the subscription process on your RedHat systems, specifically the error message

'Unable to verify server's identity: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618),'
Enter fullscreen mode Exit fullscreen mode

You can resolve it by modifying the 'insecure'
label in the rhsm.conf configuration file. Change the value from 0 to 1 using the following commands located at /etc/rhsm/rhsm.conf.

vi /etc/rhsm/rhsm.conf
Enter fullscreen mode Exit fullscreen mode

Edit the insecure line 0 to 1

# Set to 1 to disable certificate validation:
insecure = 1
Enter fullscreen mode Exit fullscreen mode

Top comments (0)