The installation of custom SSL certificate fails with error "unspecified certificate verification error" in Red Hat Satellite 6
Issue
-
While new SSL certificates are being installed on the Red Hat Satellite Server, the
satellite-installer
command fails with following error:[ERROR 2021-04-16T11:03:17 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[satellite.example.com]: Could not evaluate: Exception SSL_connect returned=1 errno=0 state=error: certificate verify failed (unspecified certificate verification error) in get request to: https://satellite.example.com/api/v2/smart_proxies?search=name=%22satellite.example.com%22 [ERROR 2021-04-16T11:03:17 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:89:in `rescue in request' [ERROR 2021-04-16T11:03:17 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:71:in `request' [ERROR 2021-04-16T11:03:17 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:6:in `proxy' [ERROR 2021-04-16T11:03:17 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in `id' [ERROR 2021-04-16T11:03:17 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in `exists?'
Environment
- Red Hat Satellite 6
- Red Hat Capsule 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.