theforeman/foreman · error · ProxyException

Unable to get PuppetCA autosign

Error message

Unable to get PuppetCA autosign

What it means

Error "Unable to get PuppetCA autosign" thrown in theforeman/foreman.

Source

Thrown at app/services/proxy_api/puppet_ca.rb:11

module ProxyAPI
  class PuppetCA < ProxyAPI::Resource
    def initialize(args)
      @url = args[:url] + "/puppet/ca"
      super args
    end

    def autosign
      parse(get("autosign"))
    rescue => e
      raise ProxyException.new(url, e, N_("Unable to get PuppetCA autosign"))
    end

    def set_autosign(certname)
      parse(post("", "autosign/#{certname}"))
    rescue => e
      raise ProxyException.new(url, e, N_("Unable to set PuppetCA autosign for %s"), certname)
    end

    def del_autosign(certname)
      parse(delete("autosign/#{certname}"))
    rescue RestClient::ResourceNotFound
      # entry doesn't exists anyway
      true
    rescue => e
      raise ProxyException.new(url, e, N_("Unable to delete PuppetCA autosign for %s"), certname)
    end

    def sign_certificate(certname)

View on GitHub (pinned to 6b05625475)

When it happens

Trigger: Thrown at app/services/proxy_api/puppet_ca.rb:11 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of theforeman/foreman@6b05625475 (2026-08-23). Data as JSON: /api/errors/6283bee731abfda1. Report an issue: GitHub.