puppetserver-ca(1)

πŸ“¦
version 8.7.0 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’… puppetserver-ca(1) β€” puppetserver-ca: Puppetserver CA management command

okay bestie, gather round πŸ’– this is the manual page for puppetserver-ca, and yes it lives in the General Commands Manual section of your system's man pages. It's your backstage-pass utility for the whole Private Key Infrastructure of Puppet Server's built-in Certificate Authority. CA stuff. Cert stuff. The ✨ drama ✨ of who gets trusted. Let's go πŸŽ€


✨ SYNOPSIS ✨

puppetserver ca (--help | --version)
puppetserver ca (--verbose) [subcommand] <args>

That's it, that's the whole entrance, no cap 🌸


πŸ¦‹ DESCRIPTION πŸ¦‹

Manage the Private Key Infrastructure for Puppet Server's built-in Certificate Authority. That's the whole vibe, and honestly? Iconic.


🌈 OPTIONS 🌈

  • -h, --help β€” Shows you the help message and then exits, like a polite queen πŸ‘‘
  • --version β€” Spits out the version number of the CA utility and bounces πŸ’¨
  • --verbose β€” Gives you the low-level information, aka the behind-the-scenes tea πŸ”₯

πŸŽ€ SUBCOMMANDS πŸŽ€

πŸ’– Certificate Actions

The following subcommands require a running Puppet Server. Like, it has to be up, bestie, no exceptions:

  • clean <args> ... β€” Revokes cert(s) and removes the related files from the CA 🧹
  • generate <args> ... β€” Generates a new certificate signed by the CA ✨
  • list <args> ... β€” Lists certificates and CSRs πŸ“‹
  • revoke <args> ... β€” Revokes certificate(s) ❌
  • sign <args> ... β€” Signs certificate request(s) ✍️

πŸ’œ Administration Actions

The following subcommands require Puppet Server to be stopped. Fr fr, shut it down first:

  • delete <args> ... β€” Deletes signed certificate(s) from disk πŸ’€
  • import <args> ... β€” Imports an external CA chain and generates server PKI πŸ“₯
  • setup <args> ... β€” Sets up a self-signed CA chain for Puppet Server πŸ› οΈ
  • enable <args> ... β€” Sets up infrastructure CRL based on a node inventory πŸ—οΈ
  • migrate <args> ... β€” Migrates the existing CA directory to /etc/puppetserver/ca 🚚
  • prune <args> ... β€” Prunes the local CRL on disk to remove any duplicated certificates βœ‚οΈ
For more details on the arguments supported by these subcommands, see the "Arguments" section of this man page. Yes, it's right down there πŸ‘‡

🧚 ARGUMENTS 🧚

🌸 clean:

  • --certname NAME[,NAME] β€” One or more comma separated certnames
  • --config CONF β€” Custom path to puppet.conf

πŸ“ delete:

  • --config CONF β€” Path to puppet.conf
  • --expired β€” Delete expired signed certificates
  • --revoked β€” Delete signed certificates that have already been revoked

πŸ¦„ enable:

  • --config CONF β€” Path to puppet.conf
  • --infracrl β€” Create auxiliary files for the infrastructure-only CRL

✨ generate:

  • --certname NAME[,NAME] β€” One or more comma separated certnames
  • --config CONF β€” Path to puppet.conf
  • --subject-alt-names NAME[,NAME] β€” One or more comma separated alt-names for the cert
  • --ca-client β€” Whether this cert will be used to request CA actions
  • --force β€” Suppress errors when signing cert offline
  • --ttl TTL β€” The time-to-live for each cert generated and signed

πŸ’Œ import:

  • --config CONF β€” Path to puppet.conf
  • --private-key KEY β€” Path to PEM encoded key
  • --cert-bundle BUNDLE β€” Path to PEM encoded bundle
  • --crl-chain CHAIN β€” Path to PEM encoded chain
  • --certname NAME β€” Common name to use for the server cert
  • --subject-alt-names NAME[,NAME] β€” One or more comma separated alt-names for the cert

πŸ“‹ list:

  • --config CONF β€” Custom path to Puppet's config file
  • --all β€” List all certificates
  • --format FORMAT β€” Valid formats are: 'text' (default), 'json'
  • --certname NAME[,NAME] β€” List the specified cert(s)

🚚 migrate:

  • --config CONF β€” Path to puppet.conf

βœ‚οΈ prune:

  • --config CONF β€” Path to the puppet.conf file on disk
  • --remove-duplicates β€” Remove duplicate entries from CRL (default)
  • --remove-expired β€” Remove expired entries from CRL
  • --remove-entries β€” Remove entries from CRL
  • --serial NUMBER[,NUMBER] β€” Serial numbers(s) in HEX to be removed from CRL
  • --certname NAME[,NAME] β€” Name(s) of the cert(s) to be removed from CRL

❌ revoke:

  • --certname NAME[,NAME] β€” One or more comma separated certnames
  • --config CONF β€” Custom path to puppet.conf

πŸ› οΈ setup:

  • --config CONF β€” Path to puppet.conf
  • --subject-alt-names NAME[,NAME] β€” One or more comma separated alt-names for the cert
  • --ca-name NAME β€” Common name to use for the CA signing cert
  • --certname NAME β€” Common name to use for the server cert

✍️ sign:

  • --ttl TTL β€” The time-to-live for each cert signed
  • --certname NAME[,NAME] β€” The name(s) of the cert(s) to be signed
  • --config CONF β€” Custom path to Puppet's config file
  • --all β€” Operate on all certnames

😭 BUGS 😭

Found a bug? Bestie, no gatekeeping 🫢 Bugs can be reported to your distribution's bug tracker or upstream at https://github.com/puppetlabs/puppetserver/issues


πŸ‘€ SEE ALSO πŸ‘€

puppetserver(1), puppetserver-gem(1), puppetserver-ruby(1), puppetserver-irb(1), puppetserver-foreground(1), puppetserver-prune(1)


🌟 AUTHOR 🌟

Louis-Philippe VΓ©ronneau β€” thank you for your service, king πŸ‘‘


and that's the whole page, bestie πŸ’– this puppetserver-ca(1) man page is the 2024 vintage, brought to you by the puppetserver-ca(1) manual itself. go forth and manage your PKI, you absolute legend πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from