Host registration with Red Hat Satellite fails with error curl: (60) SSL certificate problem: unable to get local issuer certificate
Issue
-
Error while registering host with Red Hat Satellite:
[root@Satellite.example.com ~]# set -o pipefail && curl -sS 'https://192.168.xx.xx/register?activation_keys=ak-rhel8-test&hostgroup_id=2&ignore_subman_errors=true&location_id=2&operatingsystem_id=4&organization_id=1&setup_insights=true&setup_remote_execution=true&update_packages=false' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE3MzU2MjY2MzksImp0aSI6ImFiMGEzMThiNmQ4NjJkMmNiN2RkZGVkYjE1OTYyZDJkNGNlZTJjMTU2NTEzMGI4NjMwZmZkNDc2OTRlOTdhZjUiLCJzY29wZSI6InJlZ2lzdHJhdGlvbiNnbG9iYWwgcmVnaXN0cmF0aW9uI2hvc3QifQ.04WZrXaHkC64MfEhHhGT9j2abLvLr1r0JZ_IJSdf0r0' | bash curl: (60) SSL certificate problem: unable to get local issuer certificate <<<<<<<<<<<<<< More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.
Environment
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.