SSL Issue importing puppet classes to foreman/katello setup

Problem:

am not able to import puppet classes or neither create host groups. It gives me SSL certificate error.

ERF12-2749 [ProxyAPI::ProxyException]: Unable to get environments from Puppet ([RestClient::SSLCertificateNotVerified]: SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)) for proxy https://xxxxxxxxx.xxxx.xxx:9090/puppet

Foreman and Proxy versions:

  • foreman-1.20.2-1.el7.noarch
  • foreman-cli-1.20.2-1.el7.noarch
  • katello-3.10.1-1.el7.noarch.

Due to this, I am not be to create hostgroups and map my profiles/roles to organize the set of servers.

any help would be appreciated. Thank You!

Thank You for those who looked at my issue; I got the above issue fixed;

All I had to do is point the /etc/foreman/settings.yml ssl configuration to the foreman certs. I had it pointing to puppet certs before.