Problem:
I can’t install the smart proxy to the Katello Central Server.
I’ve tried several new servers and all result in some similar error.
2022-07-04 05:59:19 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_host[foreman-proxy-suct2v1226.pontus.kpn.org]: Could not evaluate: Exception SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain) in get request to: https::/suct2v1226.pontus.kpn.org/api/v2/hosts?search=name%3D%22suct2v1226.pontus.kpn.org%22
Expected outcome:
Have a succesfull installation and an attached proxy
Foreman and Proxy versions:
Foreman 3.3 and Katello 4.5
But experiencing the same problem with Foreman 3.2 and Katello 4.4
foreman-proxy.noarch 3.3.0-1.el8 @foreman
Other relevant data:
i’m using the command from the install documentation
Why do you have two foreman-installer sections? You ran two of them on the same proxy?
I assume you already have a working Foreman server and you just want to add a proxy?
All I did when setting up my proxies was to generate the certs file on the foreman server, copy it over to the proxy and run the same command the Foreman server suggested when the certs file was generated + extra plugins you want to have enabled.
The documentation is very confusing but I followed parts of the Katello one → Installing an External Smart Proxy Server 3.2
Following it made me (due to lack of a way to install foreman-installer-katello) follow the documentation of the Foreman server at Installing Foreman 3.2 server with Katello 4.4 plugin on Enterprise Linux up to the “foreman-installer” point and then go with the Katello Proxy documentation.
Maybe you are not setting up Katello though? One thing for sure is that I only ran one install and that was with the “foreman-installer --scenario foreman-proxy-content” command.
Maybe some developer can help out that know the full story with the proxy documentation.
Thanks tedevil for your responses.
I was still waiting for the developers to respond to this, since i’m still struggling with the installation. It shouldnt be this difficult to get it running right?
Docs are confusing right now. There are two guides named “Installing an External Smart Proxy Server 3.3”, one for katello (proxy including content) and one for foreman only (proxy with no content).
You should first decide what you want: do you need a proxy with content gateway or not? Currently, this defines the scenario you have to use, i.e. you cannot really switch after you have installed it.
The katello foreman-proxy-scenario should work well following the docs,