We have a new Foreman installation, 3.15 with a Puppet Installation and we are stuck on this error trying to connect to the CA,
Failure: ERF50-5345 [Foreman::WrappedException]: Unable to connect ([ProxyAPI::ProxyException]: ERF12-5356 [ProxyAPI::ProxyException]: Unable to get PuppetCA certificates ([RestClient::NotAcceptable]: 406 Not Acceptable) for proxy https://my.server.com:9090/puppet/ca)
I figured this out. The Discovery feature was causing issue with the Puppet CA connection. After removing the Discovery feature the Smart Proxy was able to connect to the Puppet CA.