Help on setting up a smart proxy basically just for TFTP

Poblem: Install a foreman proxy for TFTP and not host any content or puppet components.

Foreman and Proxy versions: 5.0.1

Distribution and version: Rocky Linux 9

I have built a successful Foreman server. I have some remote sites and TFTP cross site is sufficiently slow that I can’t provision systems across the WAN. I believe this is a good use case for a smart proxy. I manually installed Linux (just like on the Foreman server) and attempted to run the command to install just the smart proxy, but foreman seems to want to install some puppet things (specifically requiring certificates) resulting in failures.

I’m sure I’m missing something. Hope someone can provide some guidance as to what I’m doing wrong.

The command I used to install the smart proxy:

foreman-installer \
--enable-foreman-proxy \
--no-enable-puppet \
--foreman-proxy-foreman-base-url https://adnyforeman.archnewyork.com \
--foreman-proxy-trusted-hosts adnyforeman.archnewyork.com \
--foreman-proxy-oauth-consumer-key ------------------------------------------------------- \
--foreman-proxy-oauth-consumer-secret --------------------------------------------------- \
--puppet-server false \
--puppet-server-ca false  \
--foreman-proxy-manage-puppet-group false \
--foreman-proxy-puppet false \
--foreman-proxy-puppetca false \
--foreman-proxy-tftp true \
--foreman-proxy-tftp-managed true \
--foreman-proxy-dhcp-managed false \
--foreman-proxy-dns-managed false

And the output:

2026-11-03 16:30:51 [NOTICE] [root] Loading installer configuration. This will take some time.
2026-11-03 16:30:54 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2026-11-03 16:30:54 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2026-11-03 16:30:56 [NOTICE] [checks] System checks passed
2026-11-03 16:30:58 [NOTICE] [configure] Starting system configuration.
2026-11-03 16:31:03 [NOTICE] [configure] 250 configuration steps out of 314 steps complete.
2026-11-03 16:31:04 [ERROR ] [configure] Systemd start for foreman-proxy failed!
2026-11-03 16:31:04 [ERROR ] [configure] journalctl log for foreman-proxy:
2026-11-03 16:31:04 [ERROR ] [configure] Nov 03 16:31:03 adnygoshenproxy systemd[1]: Starting Foreman Proxy...
2026-11-03 16:31:04 [ERROR ] [configure] Nov 03 16:31:04 adnygoshenproxy smart-proxy[21273]: Errors detected on startup, see log for details. Exiting: No such file or directory @ rb_sysopen - /etc/puppetlabs/puppet/ssl/private_keys/adnygoshenproxy.archnewyork.org.pem
2026-11-03 16:31:04 [ERROR ] [configure] Nov 03 16:31:04 adnygoshenproxy systemd[1]: foreman-proxy.service: Main process exited, code=exited, status=1/FAILURE
2026-11-03 16:31:04 [ERROR ] [configure] Nov 03 16:31:04 adnygoshenproxy systemd[1]: foreman-proxy.service: Failed with result 'exit-code'.
2026-11-03 16:31:04 [ERROR ] [configure] Nov 03 16:31:04 adnygoshenproxy systemd[1]: Failed to start Foreman Proxy.
2026-11-03 16:31:04 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]/ensure: change from 'stopped' to 'running' failed: Systemd start for foreman-proxy failed!
2026-11-03 16:31:04 [ERROR ] [configure] journalctl log for foreman-proxy:
2026-11-03 16:31:04 [ERROR ] [configure] Nov 03 16:31:03 adnygoshenproxy systemd[1]: Starting Foreman Proxy...
2026-11-03 16:31:04 [ERROR ] [configure] Nov 03 16:31:04 adnygoshenproxy smart-proxy[21273]: Errors detected on startup, see log for details. Exiting: No such file or directory @ rb_sysopen - /etc/puppetlabs/puppet/ssl/private_keys/adnygoshenproxy.archnewyork.org.pem
2026-11-03 16:31:04 [ERROR ] [configure] Nov 03 16:31:04 adnygoshenproxy systemd[1]: foreman-proxy.service: Main process exited, code=exited, status=1/FAILURE
2026-11-03 16:31:04 [ERROR ] [configure] Nov 03 16:31:04 adnygoshenproxy systemd[1]: foreman-proxy.service: Failed with result 'exit-code'.
2026-11-03 16:31:04 [ERROR ] [configure] Nov 03 16:31:04 adnygoshenproxy systemd[1]: Failed to start Foreman Proxy.
2026-11-03 16:31:05 [NOTICE] [configure] System configuration has finished.

The Smart Proxy requires SSL certificates to securely communicate with the main Foreman server over HTTPS, even when all Puppet features are completely disabled. Because you disabled Puppet but did not explicitly provide alternative SSL certificates, the installer is defaulting to the standard Puppet SSL paths and failing when it cannot find them to bind the proxy’s web service.

Our new installer (foremanctl) would work in this scenario, however, provisioning is not supported yet. So unless you want to avoid deploying puppet server, you can probably manually generate those certs:

foreman-proxy-certs-generate --foreman-proxy-fqdn adnygoshenproxy.archnewyork.org --certs-tar ~/adnygoshenproxy-certs.tar

Then run your original installer command on the proxy server, but add the --foreman-proxy-certs-tar flag pointing to the tarball. That should do it.

Makes sense. I generated the .tar successfully, but the proxy installer seems to not work. I get:

ERROR: Unrecognised option ‘–foreman-proxy-certs-tar’

Am I using the right foreman-installer? It doesn’t show any certs/ tar options.


[root@adnygoshenproxy ~]# foreman-installer --help | grep certs
    --foreman-plugin-puppetdb-ssl-ca-file                                  CA certificate file which will be used to connect to the PuppetDB API. (current: "/etc/puppetlabs/puppet/ssl/certs/ca.pem")
    --foreman-plugin-puppetdb-ssl-certificate                              Certificate file which will be used to connect to the PuppetDB API. (current: "/etc/puppetlabs/puppet/ssl/certs/adnygoshenproxy.archnewyork.org.pem")
    --foreman-proxy-manage-puppet-group                                    Whether to ensure the $puppet_group exists.  Also ensures group owner of ssl keys and certs is $puppet_group
    --foreman-proxy-puppet-ssl-ca                                          SSL CA used to verify connections when accessing the Puppet master API (current: "/etc/puppetlabs/puppet/ssl/certs/ca.pem")
    --foreman-proxy-puppet-ssl-cert                                        SSL certificate used when accessing the Puppet master API (current: "/etc/puppetlabs/puppet/ssl/certs/adnygoshenproxy.archnewyork.org.pem")
    --foreman-proxy-ssl-ca                                                 SSL CA to validate the client certificates used to access the proxy (current: "/etc/puppetlabs/puppet/ssl/certs/ca.pem")
    --foreman-proxy-ssl-cert                                               SSL certificate to be used to run the foreman proxy via https. (current: "/etc/puppetlabs/puppet/ssl/certs/adnygoshenproxy.archnewyork.org.pem")

If I remember correctly using the tar file only works for content smart proxy so for Katello. So you will need manually place the certificates and use --foreman-proxy-ssl-ca and --foreman-proxy-ssl-cert. Not 100% sure as most setups I have done used Puppet or Katello.

In the past, we had success with installing both foreman-installer and foreman-installer-katello on our smart-proxy server (which should bring the --foreman-proxy-certs-tar option) and then adding --no-enable-foreman-proxy-content. It’s been a while since I tried it, but you are on the right track with just disabling a lot of features until you are where you need to be.

Since this is very much an advanced, non-default scenario, I would also recommend to use foreman-installer --full-help instead of --help when looking for installer options.