CERTMONGER(1)

πŸ“¦
version 0.79.21 Β· 2 versions
  • 0.79.21 Β· alpine 3.24, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.79.17 Β· debian bookworm, ubuntu jammy
, in alpine 3.24, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ getcert β€” CERTMONGER(1) ✨

okay bestie, welcome to the certmonger manual β€” this is getcert's page from the General Commands Manual, and it's lowkey iconic πŸ’…


πŸ’– NAME πŸ’–

getcert


🌸 SYNOPSIS 🌸

getcert resubmit [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically? It tells certmonger to generate (or regenerate) a signing request, and then submit (or resubmit) that signing request to a CA so the CA can sign it. That's the whole vibe. ✨


πŸŽ€ SPECIFYING REQUESTS BY NICKNAME πŸŽ€

  • -i NAME, --id=NAME β€” resubmit a signing request for the tracking request that has this nickname. Now here's the tea: if you don't pass this option, and a tracking entry already exists that matches the key and certificate storage options you specified, then that entry gets used instead. And if you don't specify it and there's no match? Then you gotta say where the certificate lives β€” either with a combo of the -d and -n options, or with the -f option. periodt.

🌈 SPECIFYING REQUESTS BY CERTIFICATE LOCATION 🌈

  • -d DIR, --dbdir=DIR β€” the certificate is chillin' in the NSS database in the directory you name. πŸ’Ύ
  • -n NAME, --nickname=NAME β€” the certificate in the NSS database named with -d has this nickname. Only valid with -d, no cap.
  • -t TOKEN, --token=TOKEN β€” if the NSS database has more than one token available, the certificate is stored in this token. ngl you'll only rarely need to specify this one. Only valid with -d.
  • -f FILE, --certfile=FILE β€” the certificate is stored in the named file. simple as that. πŸ“

πŸ‘‘ ENROLLMENT OPTIONS πŸ‘‘

  • -c NAME, --ca=NAME β€” submit the new signing request to the specified CA instead of the one that was previously associated with this certificate. The CA's name should correspond to one listed by getcert list-cas. slay.
  • -T NAME, --profile=NAME β€” request a certificate using the named profile, template, or certtype, from the specified CA.
  • --ms-template-spec SPEC β€” include a V2 Certificate Template extension in the signing request. This datum includes an Object Identifier, a major version number (positive integer), and an optional minor version number. The format is: <oid>:<majorVersion>[:<minorVersion>].
  • -X NAME, --issuer=NAME β€” request a certificate using the named issuer from the specified CA.
  • -I NAME, --id=NAME β€” assign the specified nickname to this task, replacing the previous nickname. glow-up for your task's name πŸ’…

πŸ”₯ SIGNING REQUEST OPTIONS πŸ”₯

  • -N NAME, --subject-name=NAME β€” change the subject name to include in the signing request.
  • -u keyUsage, --key-usage=keyUsage β€” add an extensionRequest for the specified keyUsage to the signing request. The keyUsage value is expected to be one of these names:
    • digitalSignature
    • nonRepudiation
    • keyEncipherment
    • dataEncipherment
    • keyAgreement
    • keyCertSign
    • cRLSign
    • encipherOnly
    • decipherOnly
  • -U EKU, --extended-key-usage=EKU β€” change the extendedKeyUsage value specified in an extendedKeyUsage extension part of the extensionRequest attribute in the signing request. The EKU value is expected to be an object identifier (OID).
  • -K NAME, --principal=NAME β€” change the Kerberos principal name specified as part of a subjectAltName extension part of the extensionRequest attribute in the signing request.
  • -E EMAIL, --email=EMAIL β€” change the email address specified as part of a subjectAltName extension part of the extensionRequest attribute in the signing request.
  • -D DNSNAME, --dns=DNSNAME β€” change the DNS name specified as part of a subjectAltName extension part of the extensionRequest attribute in the signing request.
  • -A ADDRESS, --ip-address=ADDRESS β€” change the IP address specified as part of a subjectAltName extension part of the extensionRequest attribute in the signing request.
  • -l FILE, --challenge-password-file=FILE β€” add an optional ChallengePassword value, read from the file, to the signing request. A ChallengePassword is often required when the CA is accessed using SCEP.
  • -L PIN, --challenge-password=PIN β€” add the argument value to the signing request as a ChallengePassword attribute. A ChallengePassword is often required when the CA is accessed using SCEP.

πŸ’œ OTHER OPTIONS πŸ’œ

  • -B COMMAND, --before-command=COMMAND β€” whenever the certificate or the CA's certificates are saved to the specified locations, run the specified command as the client user before saving the certificates.
  • -C COMMAND, --after-command=COMMAND β€” whenever the certificate or the CA's certificates are saved to the specified locations, run the specified command as the client user after saving the certificates.
  • -a DIR, --ca-dbdir=DIR β€” whenever the certificate is saved to the specified location, if root certificates for the CA are available, save them to the specified NSS database.
  • -F FILE, --ca-file=FILE β€” whenever the certificate is saved to the specified location, if root certificates for the CA are available, and when the local copies of the CA's root certificates are updated, save them to the specified file.
  • --for-ca β€” request a CA certificate.
  • --not-for-ca β€” request a non-CA certificate (the default).
  • --ca-path-length=LENGTH β€” path length for CA certificate. Only valid with --for-ca.
  • -w, --wait β€” wait for the certificate to be reissued and saved, or for the attempt to obtain one to fail. patience is a virtue bestie 😭
  • --wait-timeout=TIMEOUT β€” maximum time to wait for the certificate to be issued.
  • -v, --verbose β€” be verbose about errors. Normally, the details of an error received from the daemon will be suppressed if the client can make a diagnostic suggestion. (basically: it shuts up when it thinks it knows what's wrong, unless you pass this. πŸ™ˆ)
  • -o OWNER, --key-owner=OWNER β€” after generation, set the owner on the private key file or database to OWNER.
  • -m MODE, --key-perms=MODE β€” after generation, set the file permissions on the private key file or database to MODE.
  • -O OWNER, --cert-owner=OWNER β€” after generation, set the owner on the certificate file or database to OWNER.
  • -M MODE, --cert-perms=MODE β€” after generation, set the file permissions on the certificate file or database to MODE.

πŸ’€ BUGS πŸ’€

Please file tickets for any that you find at https://fedorahosted.org/certmonger/

(not me asking you to snitch on the bugs, but like, do it, they wanna know 🫢)


⭐ SEE ALSO ⭐

certmonger(8) getcert(1) getcert-add-ca(1) getcert-add-scep-ca(1) getcert-list-cas(1) getcert-list(1) getcert-modify-ca(1) getcert-refresh-ca(1) getcert-refresh(1) getcert-rekey(1) getcert-remove-ca(1) getcert-request(1) getcert-start-tracking(1) getcert-status(1) getcert-stop-tracking(1) certmonger-certmaster-submit(8) certmonger-dogtag-ipa-renew-agent-submit(8) certmonger-dogtag-submit(8) certmonger-ipa-submit(8) certmonger-local-submit(8) certmonger-scep-submit(8) certmonger_selinux(8)


okay that's the whole page, you ate that reading it πŸ’… this was the certmonger Manual, dated February 9, 2015 β€” and that's on periodt, bestie. go forth and resubmit those signing requests, no cap πŸŒΈπŸ¦‹βœ¨