Client setup fails

Problem:
I’m trying to register my first client to a new Foreman / Katello instance I’ve setup. All servers and clients are running Centos 7. Foreman is 2.0.3, Katello is 3.15.3-1.el7.

Expected outcome:

Foreman and Proxy versions: - All servers and clients are running Centos 7. Foreman is 2.0.3, Katello is 3.15.3-1.el7.

Foreman and Proxy plugin versions: All servers and clients are running Centos 7. Foreman is 2.0.3, Katello is 3.15.3-1.el7.

Distribution and version: All servers and clients are running Centos 7. Foreman is 2.0.3, Katello is 3.15.3-1.el7.

Other relevant data:

When I register my first client, I get the following:

[root@myclient ~]# subscription-manager register --org=“mydomain.com” --activationkey=“CentOS7_Key”
Unable to verify server’s identity: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)

I’ve tried replacing the hostname in /etc/rhsm/rhsm.com with my foreman server as suggested on: linux help topics: subscription-manager Unable to verify server's identity: certificate verify failed

However the client install still fails.

Any assistance would be greatly appreciated.

Thanks in advance.

couple things - if it’s a brand new installation, why such an old version?

as for the error itself, you need to install your ca-consumer.rpm on the client first before registering, by default it should be downloadable at http:///pub/katello-ca-consumer-latest.noarch.rpm

but if at all possible, i would highly recommend starting with a fresh katello 4+ instance, to avoid having to migrate from pulp2 → pulp3 when you do that upgrade. This, of course, only applies if it is a brand new clean install.

Can you please point me to a good set of instructions for the latest katello / foreman installation? I cant use foreman by itself for my requirement. TIA.

Here’s the official docs:
https://docs.theforeman.org/3.0/Installing_Server_on_Red_Hat/index-katello.html