Project

General

Profile

Actions

Support #6877

closed

ERF12-5356 [ProxyAPI::ProxyException]: Unable to get PuppetCA certificates ([RestClient::NotAcceptable]: 406 Not Acceptable) for proxy

Added by Brad Heaton about 10 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Smart Proxy
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

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

Foreman-Error-ER12-5356.png View Foreman-Error-ER12-5356.png 84.7 KB Brad Heaton, 08/01/2014 05:34 AM
Cert-List.png View Cert-List.png 108 KB Brad Heaton, 08/01/2014 05:40 AM
proxy.log proxy.log 35.8 KB Brad Heaton, 08/01/2014 06:08 AM
foreman-proxy sudoers file permissions.png View foreman-proxy sudoers file permissions.png 9.98 KB Brad Heaton, 08/01/2014 06:11 AM
foreman-proxy sudoers contents.png View foreman-proxy sudoers contents.png 15.5 KB Brad Heaton, 08/01/2014 06:11 AM
Actions

Also available in: Atom PDF