PUPPET-SSL(8)
π NAME π
puppet-ssl β bestie, this is the one that manages SSL keys and certificates for your puppet SSL clients. That's it. That's the whole job. Keys π and certs π, handled. β¨
πΈ SYNOPSIS πΈ
Manage SSL keys and certificates for SSL clients that need to talk to a puppet infrastructure. Like, they gotta communicate, okay? This is how you make that happen. π
π¦ USAGE π¦
puppet ssl action [-h|--help] [-v|--verbose] [-d|--debug] [--localca]
[--target CERTNAME]
Yes, action is a placeholder for the actual thing you wanna do β the actions live down in the ACTIONS section, go peek. π
π OPTIONS π
--helpβ prints this help message, so you can be un-lost. iconic behavior honestly.--verboseβ prints extra info, for when you want more words. π£οΈ--debugβ turns on full debugging. full. debugging. the whole thing. π--localcaβ also cleans the local CA certificate and CRL. (This one only matters when you're cleaning, iykyk.)--target CERTNAMEβ cleans the device certificate you name instead of this host's certificate. Be specific, bestie, or it'll just do the host. π―
π ACTIONS π
bootstrap
Does every single step you need to request a client certificate and download it. That's the whole pipeline. β¨
If autosigning is disabled, puppet will wait every waitforcert seconds for its certificate to get signed. And if you literally cannot with the waiting? Specify a time of 0 and it'll only attempt once and never wait. periodt. π
Since waitforcert is a Puppet setting, you can hand it a time interval β stuff like 30s, 5m, 1h. So 30s is thirty seconds, 5m is five minutes, 1h is an hour. You get it. π
submit_request
Generates a certificate signing request (a CSR) and submits it to the CA. π«Ά
- If a private and public key pair already exist, those get used to generate the CSR.
- Otherwise, a brand new key pair gets generated. π±
Heads up: if a CSR has already been submitted with the given certname, then the operation will fail. Not a vibe, but it's the rule. π
generate_request
Generates a certificate signing request (a CSR). β¨
- If a private and public key pair exist, they get used to generate the CSR.
- Otherwise, a new key pair gets generated.
That's it, no submitting, just generating. Lowkey the chill version. πΈ
download_cert
Downloads a certificate for this host. π₯
If the current private key matches the downloaded certificate, then the certificate gets saved and used for subsequent requests. And if there's already an existing certificate? It gets overwritten. So like... be aware. π
verify
Three things, all of them matter:
- Verify the private key and certificate are present and match. ππ
- Verify the certificate is issued by a trusted CA.
- Check revocation status.
It's giving vibe check, but for crypto. β
clean
Removes the private key and certificate related files for this host. π§Ή
- If
--localcais specified, then it also removes this host's local copy of the CA certificate(s) and CRL bundle. - If
--target CERTNAMEis specified, then it removes the files for the specified device on this host instead of this host itself.
This one is destructive, bestie. Files go bye. Double-check your flags before you send it. π
show
Prints the full-text version of this host's certificate. π Just reads it out loud for you. No changes, no drama, just the cert. π
That's the whole page, you're so welcome, go forth and be SSL-correct. π
Puppet, Inc. β’ September 2024 β’ PUPPET-SSL(8) β mwah, see you in the next manpage πβ¨
π¦ where this page comes from
- arch rolling: puppet 8.10.0-6 Β· Apache-2.0
- fedora 43: puppet 8.10.0-2.fc43 Β· Apache-2.0
- fedora 43: puppet 8.10.0-3.fc43 Β· Apache-2.0
- fedora 44: puppet 8.10.0-4.fc44 Β· Apache-2.0
- fedora 44: puppet 8.10.0-5.fc44 Β· Apache-2.0
- nixos 26.05: puppet 8.10.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms