The puppet cert clean command fails with message Error: header too long in Red Hat Satellite 6

Solution Verified - Updated -

Issue

  • The puppet cert clean command fails with following error.

    # puppet cert clean client.example.com
    Warning: `puppet cert` is deprecated and will be removed in a future release.
      (location: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:370:in `run')
    Error: header too long
    
  • While navigating to GUI - > Infrastructure - > Capsule - > satellite\capsule.example.com and clicking on Puppet CA tab, following error is being displayed.

    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 Capsule https://satellite.example.com:9090/puppet/ca)
    

Environment

  • Red Hat Satellite 6.5 and above
  • Red Hat Capsule 6.5 and above

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content