HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/cert.rb
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 --certname NAME[,NAME...]`

* sign:
  Use `puppetserver ca sign --certname 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