Sha256: 8c68583a633d810bc7f520c873df606f7481e17230f942fd7c31e6291109c2f1

Contents?: true

Size: 1.69 KB

Versions: 37

Compression:

Stored size: 1.69 KB

Contents

require 'puppet/application'

class Puppet::Application::Cert < Puppet::Application

  def summary
    _("Manage certificates and requests (Disabled)")
  end

  def help
     <<-HELP
This command is no longer functional, please use `puppetserver ca` instead.

puppet-cert(8) -- #{summary}
========

ACTIONS
-------
Every action except 'list' and 'generate' requires a hostname to act on,
unless the '--all' option is set.

* clean:
  Use `puppetserver ca clean --certname NAME[,NAME...]`

* fingerprint:
  Use openssl directly:
  `openssl x509 -noout -fingerprint -<digest> -inform pem -in certificate.crt`

* generate:
  Use `puppetserver ca generate --certname NAME[,NAME...]`

* list:
  Use `puppetserver ca list [--all]`

* print:
  Use openssl directly:
  `openssl x509 -noout -text -in certificate.pem`

* revoke:
  Use `puppetserver ca revoke --cerntname NAME[,NAME...]`

* sign:
  Use `puppetserver ca sign --cerntname NAME[,NAME...]`

* verify:
  Use `puppet ssl verify [--certname NAME]`

* reinventory:
  Removed.

OPTIONS
-------
There are a couple important notes about previously-supported options.

* --allow-dns-alt-names:
  In order to sign certificates with subject alternative names using
  `puppetserver ca sign`, the `allow-subject-alt-names` setting must be
  set to true in the `certificate-authority` section of Puppet Server's
  config.

* --allow-authorization-extensions:
  In order to sign certificates with authorization extensions using
  `puppetserver ca sign`, the `allow-authorization-extensions` setting must be
  set to true in the `certificate-authority` section of Puppet Server's
  config.
HELP
  end

  def setup
    deprecate
  end

  def parse_options
    puts help
    exit 1
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
puppet-6.0.10 lib/puppet/application/cert.rb
puppet-6.0.10-x86-mingw32 lib/puppet/application/cert.rb
puppet-6.0.10-x64-mingw32 lib/puppet/application/cert.rb
puppet-6.0.10-universal-darwin lib/puppet/application/cert.rb
puppet-6.0.9 lib/puppet/application/cert.rb
puppet-6.0.9-x86-mingw32 lib/puppet/application/cert.rb
puppet-6.0.9-x64-mingw32 lib/puppet/application/cert.rb
puppet-6.0.9-universal-darwin lib/puppet/application/cert.rb
puppet-6.0.8 lib/puppet/application/cert.rb
puppet-6.0.8-x86-mingw32 lib/puppet/application/cert.rb
puppet-6.0.8-x64-mingw32 lib/puppet/application/cert.rb
puppet-6.0.8-universal-darwin lib/puppet/application/cert.rb
puppet-6.0.7 lib/puppet/application/cert.rb
puppet-6.0.7-x86-mingw32 lib/puppet/application/cert.rb
puppet-6.0.7-x64-mingw32 lib/puppet/application/cert.rb
puppet-6.0.7-universal-darwin lib/puppet/application/cert.rb
puppet-6.0.5 lib/puppet/application/cert.rb
puppet-6.0.5-x86-mingw32 lib/puppet/application/cert.rb
puppet-6.0.5-x64-mingw32 lib/puppet/application/cert.rb
puppet-6.0.5-universal-darwin lib/puppet/application/cert.rb