Support #6877
closedERF12-5356 [ProxyAPI::ProxyException]: Unable to get PuppetCA certificates ([RestClient::NotAcceptable]: 406 Not Acceptable) for proxy
Description
This is a new install of Foreman on a clean Ubuntu 14.04 VM. Everything was going fine and 7 hosts had been added (Ubuntu 10.04, Ubuntu 12.04, Ubuntu 14.04 and Mac OSX 10.9). Then after a certificate was requested from a Windows host (installed using latest Puppet agent installer), this error was thrown when checking the certificate in Foreman to sign it. However, checking the cert list in Puppet showed the new Windows server certificate request and it could be signed. The host then showed up fine in the Foreman Hosts list, but the certificates screen still throws the error. Screenshots attached.
ProxyAPI::ProxyException
ERF12-5356 [ProxyAPI::ProxyException]: Unable to get PuppetCA certificates ([RestClient::NotAcceptable]: 406 Not Acceptable) for proxy https://serveraname.domain.com:8443/puppet/ca
lib/proxy_api/puppetca.rb:47:in `rescue in all'
lib/proxy_api/puppetca.rb:45:in `all'
app/services/smart_proxies/puppet_ca.rb:21:in `all'
app/services/smart_proxies/puppet_ca.rb:36:in `find_by_state'
app/controllers/puppetca_controller.rb:8:in `index'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'
Files