Host registration with Red Hat Satellite or Capsule server fails with error curl: (60) SSL certificate problem: unable to get local issuer certificate
Issue
-
Registering a host with a Red Hat Satellite or Capsule server fails with error:
# set -o pipefail && curl -sS 'https://satellite.example.com:9090/register?activation_keys=ak-rhel8-test&hostgroup_id=1&location_id=2&operatingsystem_id=3&organization_id=1&update_packages=false' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE3NTY5NzgyMzYsImp0aSI6IjUzZTk5MTIwOWU1MzFkYTk2ZjhiOGFhMzk5OTk3NzUzN2NhNWQ2YjY1NTJlOTEzYTA0OGJjYmI4MjE5Y2ZhODQiLCJzY29wZSI6InJlZ2lzdHJhdGlvbiNnbG9iYWwgcmVnaXN0cmF0aW9uI2hvc3QifQ.yrL7si9xtn7aG-5GOetFucokybinxBGStt3czskP7kM' | bash curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.haxx.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.x
- Red Hat Capsule 6.x
- Red Hat Enterprise Linux 8.x client host
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.