CERTMONGER(1)
β¨ CERTMONGER β¨
okay bestie, sit down, hydrate, because we're reading CERTMONGER(1) together and it's a whole journey. This is part one of the manual, so no, we're not done yet, don't touch that scroll wheel. π
π NAME π
getcert
that's it. that's the name. short, iconic, does exactly what it says on the tin. π
πΈ SYNOPSIS πΈ
getcert list [options]
π DESCRIPTION π
so basically certmonger is out here keeping an eye on your certificates, right? and getcert list is the move where you go "hey bestie, what are you monitoring, what are you trying to get" and it just tells you. it queries certmonger for a list of the certificates it's monitoring, or the ones it's actively trying to obtain. that's the whole vibe. no cap. π¦
π ENROLLMENT OPTIONS π
these are the options that filter by who's issuing the thing.
-cNAME,--ca=NAME β only show you the entries that use the CA you named. and heads up: the name you put here should be one thatgetcert list-casactually lists, so if you're out here making up CA names, that's on you. π
π LISTING OPTIONS π
now the fun part, the filters. pick your fighter.
-r,--requests-onlyβ only lists the entries that are currently being enrolled or refreshed. the busy ones. the main characters. π₯-t,--tracking-onlyβ the opposite vibe: only lists entries that are not currently being enrolled or refreshed. the chill ones, just vibing, being watched. π-u,--utcβ timestamps in UTC instead of local time. for when you want your times in the universal language. β¨-dDIR,--dbdir=DIR β only lists entries using an NSS database in the directory you specify, for storing the certificate. tell it where the db lives and it'll narrow it down. ποΈ-nNAME,--nickname=NAME β only lists tracking requests that use an NSS database and the nickname you give, for storing the certificate. two conditions, one flag. slay. π-fFILE,--certfile=FILE β only lists tracking requests that say the certificate should be stored in the file you name. π-iNAME,--id=NAME β only lists tracking requests that use this request nickname. this one's the request's own little name tag. π·οΈ
π STATES π
okay this is the big one. certmonger is a whole pipeline girlie and every request moves through states. here's every single one, in order, no skips, because we don't do skipping. π―
NEED_KEY_PAIRβ the service is about to generate a brand new key pair. getting ready to cook. πGENERATING_KEY_PAIRβ the service is currently generating that new key pair. it's happening. right now. π₯NEED_KEY_GEN_PERMSβ the service hit a filesystem permission error while trying to save the freshly generated key pair. rude. πNEED_KEY_GEN_PINβ the service is missing the PIN it needs to get into an NSS database so it can save the new key pair, or the PIN it has for a database is wrong. π¬NEED_KEY_GEN_TOKENβ the service couldn't find a suitable token to use for generating the new key pair. the token is missing. gone. not here. π«HAVE_KEY_PAIRβ key pair generated successfully. we ate. βNEED_KEYINFOβ the service needs to read info about the key pair. πREADING_KEYINFOβ the service is currently reading that key pair info. πNEED_KEYINFO_READ_PINβ the service is missing the PIN it needs to access an NSS database to read info about the newly generated key pair, or the PIN it has for a database is wrong, or it has the wrong password for accessing a key stored in encrypted PEM format. three ways to be locked out, pick your poison. πNEED_KEYINFO_READ_TOKENβ the service couldn't find the token where the key pair is supposed to be stored. where did it go. nobody knows. πHAVE_KEYINFOβ key pair info successfully read. we know things now. π§NEED_CSRβ the service is about to generate a new signing request. πGENERATING_CSRβ the service is generating a signing request. as we speak. βοΈNEED_CSR_GEN_PINβ the service is missing the PIN it needs to access an NSS database in order to use the key pair, or the PIN it has for a database is wrong, or it has the wrong password for reading a key stored in encrypted PEM format. again. πNEED_CSR_GEN_TOKENβ the service couldn't find the token where the key pair is supposed to be stored. token, where art thou. π«₯HAVE_CSRβ signing request generated successfully. periodt. βNEED_SCEP_DATAβ the service is about to generate the data specifically needed for connecting to a CA using SCEP. π°οΈGENERATING_SCEP_DATAβ the service is generating that SCEP-connection data. it's in the lab. π§ͺNEED_SCEP_GEN_PINβ the service is missing the PIN it needs to access an NSS database in order to use the key pair, or the PIN it has for a database is wrong, or it has the wrong password for reading a key stored in encrypted PEM format. (this PIN situation is giving recurring villain honestly) πNEED_SCEP_GEN_TOKENβ the service couldn't find the token where the key pair is supposed to be stored. yes, again. π«₯NEED_SCEP_ENCRYPTION_CERTβ the service is waiting until it can retrieve a copy of the CA's certificate before it can generate the data it needs to connect to the CA using SCEP. it's just waiting. patiently. mostly. β³NEED_SCEP_RSA_CLIENT_KEYβ so the CA should be contacted using SCEP, but SCEP requires the client key pair to be an RSA key pair, and this one is not. mismatch moment. π΅HAVE_SCEP_DATAβ SCEP data generated successfully. we move. βNEED_TO_SUBMITβ the service is about to submit a signing request to a CA for signing. fingers crossed. π€SUBMITTINGβ the service is currently submitting that signing request to a CA for signing. π€NEED_CAβ the service can't submit a request to a CA because it doesn't know which CA to use. bestie, pick a CA. πCA_UNREACHABLEβ the service couldn't contact the CA, but it will try again later. it's not giving up, it's just on a little break. πCA_UNCONFIGUREDβ the service is missing configuration it'll need to actually contact the CA successfully. something's missing from the setup. π§©CA_REJECTEDβ the CA rejected the signing request. πCA_WORKINGβ the CA hasn't approved or rejected the request yet. the service will check on the status later. it's pending, your honor. βNEED_TO_SAVE_CERTβ the CA approved the signing request, and the service is about to save the issued certificate to the location it's been told to save it to. πΎPRE_SAVE_CERTβ the service is running a configured pre-saving command before it saves the newly issued certificate to the location it's been told to save it to. warm-up act. π¬START_SAVING_CERTβ the service is starting to save the issued certificate to the location it's been told to save it to. πSAVING_CERTβ the service is attempting to save the issued certificate to the location it's been told to save it to. βοΈNEED_CERTSAVE_PERMSβ the service hit a filesystem permission error while trying to save the newly issued certificate to the location it's been told to save it to. π€NEED_CERTSAVE_TOKENβ the service can't find the token where the newly issued certificate is supposed to be stored. πNEED_CERTSAVE_PINβ the service is missing the PIN required to access an NSS database so it can save the newly issued certificate to the location it's been told to save it to. πNEED_TO_SAVE_CA_CERTSβ the service is about to save the issuing CA's certificate to the locations it's been told to save them to. (note the plural, there are locations, be ready) πSTART_SAVING_CA_CERTSβ the service is starting to save the issuing CA's certificate to the locations it's been told to save them to. πSAVING_CA_CERTSβ the service is saving the issuing CA's certificate to the locations it's been told to save them to. πΎNEED_TO_SAVE_ONLY_CA_CERTSβ the service is about to save the issuing CA's certificate to the locations it's been told to save them to. yes, it reads a lot like the one above. yes, it's a separate state. we don't question the pipeline. π€·START_SAVING_ONLY_CA_CERTSβ the service is starting to save the issuing CA's certificate to the locations it's been told to save them to. πSAVING_ONLY_CA_CERTSβ the service is saving the issuing CA's certificate to the locations it's been told to save them to. πΎNEED_CA_CERT_SAVE_PERMS,NEED_ONLY_CA_CERT_SAVE_PERMSβ the service hit a filesystem permission error while trying to save the issuing CA's certificate to the locations it's been told to save them to. (in the source these two are squished together on one line and honestly? we respect the chaos π ) π€NEED_TO_READ_CERTβ the service is about to read the issued certificate from the location it's been told to save it to. πREADING_CERTβ the service is reading the issued certificate from the location it's been told to save it to. πSAVED_CERTβ the service has finished saving the issued certificate and the issuer's certificate to the locations it's been told to save them to. complete. done. gorgeous. βPOST_SAVED_CERTβ the service is running a configured post-saving command after saving the newly issued certificate to the location it's been told to save them to. encore performance. π€MONITORINGβ the service is monitoring the certificate and waiting for its not-valid-after date to get close. and btw, this is expected to be the status you see most often. it's the default vibe. this is the state that's just out here living its life. πβ¨NEED_TO_NOTIFY_VALIDITYβ the service is about to notify the system administrator that the certificate's not-valid-after date is approaching. π£NOTIFYING_VALIDITYβ the service is notifying the system administrator that the certificate's not-valid-after date is approaching. πNEED_TO_NOTIFY_REJECTIONβ the service is about to notify the system administrator that the CA rejected the signing request. π£NOTIFYING_REJECTIONβ the service is notifying the system administrator that the CA rejected the signing request. πNEED_TO_NOTIFY_ISSUED_SAVE_FAILEDβ the service needs to notify the system administrator that the CA issued a certificate, but there was a problem saving that certificate to the location the service was told to save it to. π£NOTIFYING_ISSUED_SAVE_FAILEDβ the service is notifying the system administrator that the CA issued a certificate, but there was a problem saving that certificate to the location the service was told to save it to. πNEED_TO_NOTIFY_ISSUED_CA_SAVE_FAILEDβ the service needs to notify the system administrator that the CA issued a certificate, and the issued certificate was saved to the location the service has been told to save it to, but there was a problem saving the CA's certificate to the locations the service was told to save it to. so close. π£NOTIFYING_ISSUED_CA_SAVE_FAILEDβ the service is notifying the system administrator that the CA issued a certificate, and the issued certificate was saved to the location the service has been told to save it to, but there was a problem saving the CA's certificate to the locations the service was told to save it to. πNEED_TO_NOTIFY_ISSUED_SAVEDβ the service needs to notify the system administrator that the CA issued a certificate and it has been saved to the location the service has been told to save it to. good news state!! we love to see it. ππ
NOTIFYING_ISSUED_SAVED π
okay so bestie, the service is letting the sysadmin know that the CA issued a certificate AND it got saved to the location the service was told to save it. mission accomplished, we're so back. β¨
NEED_TO_NOTIFY_ONLY_CA_SAVE_FAILED π
the service needs to tell the system administrator that there was a problem saving the CA's certificates to the specified location. like, it's got bad news and it hasn't delivered it yet.
NOTIFYING_ONLY_CA_SAVE_FAILED π
the service is notifying the system administrator that there was a problem saving the CA's certificates to the specified location. bad news = delivered.
NEED_GUIDANCE π
an unhandled error happened while it was trying to contact the CA. OR β and this is the second possibility, fr β the service has just been told to monitor a certificate which doesn't exist, and it has no location specified for storing a key pair that could be used to generate a signing request to go get one. either way: it's stuck, it needs a human. π«Ά
NEWLY_ADDED π
the service has just been told to track a certificate, or to generate a signing request to obtain one. fresh start energy.
NEWLY_ADDED_START_READING_KEYINFO π₯
same deal β just told to track a certificate, or generate a signing request for one β and it's about to check if there's already a key pair hanging around.
NEWLY_ADDED_READING_KEYINFO πΈ
just told to track a certificate or generate a signing request, and it is checking if there's already a key pair present. currently investigating, no conclusions yet.
NEWLY_ADDED_NEED_KEYINFO_READ_PIN π
just told to track a certificate or generate a signing request, and it could not check whether a key pair was present, because it's missing the PIN required to access an NSS database β or because it has an incorrect PIN for a database. so either way, that database said "no π" and here we are.
NEWLY_ADDED_NEED_KEYINFO_READ_TOKEN π¦
just told to track a certificate or generate a signing request, and it couldn't check for a key pair because the token that should be used for storing the key pair is not present. no token, no check, no cap.
NEWLY_ADDED_START_READING_CERT π
just told to track a certificate or generate a signing request, and it's about to check whether a certificate is already present in the specified location.
NEWLY_ADDED_READING_CERT β
just told to track a certificate or generate a signing request, and it's checking whether a certificate is already sitting in the specified location. peak detective behavior.
NEWLY_ADDED_DECIDING π
just told to track a certificate or generate a signing request, and it's figuring out its next course of action. the deliberation era. main character decision moment.
π BUGS π
found one? please file tickets for any that you find at
https://fedorahosted.org/certmonger/
we appreciate you, fr fr π
π SEE ALSO π
certmonger(8)getcert(1)getcert-add-ca(1)getcert-add-scep-ca(1)getcert-list-cas(1)getcert-modify-ca(1)getcert-refresh-ca(1)getcert-refresh(1)getcert-rekey(1)getcert-remove-ca(1)getcert-request(1)getcert-resubmit(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)
and that's a wrap on the whole page, bestie π this lil number is from the certmonger Manual, dated June 28, 2016, and it lives under CERTMONGER(1). slay, go manage some certificates, you've got this π
β¨
π¦ where this page comes from
- alpine 3.24: certmonger-doc 0.79.21-r0 Β· GPL-3.0-or-later
- centos-stream 10: certmonger 0.79.21-1.el10 Β· GPL-3.0-or-later
- centos-stream 9: certmonger 0.79.21-1.el9 Β· GPLv3+
- debian bookworm: certmonger 0.79.17-2 Β· GPL-3.0-or-later WITH OpenSSL exception
- debian trixie: certmonger 0.79.20-2 Β· GPL-3.0-or-later WITH OpenSSL exception
- fedora 43: certmonger 0.79.20-5.fc43 Β· GPL-3.0-or-later
- fedora 43: certmonger 0.79.21-1.fc43 Β· GPL-3.0-or-later
- fedora 44: certmonger 0.79.21-4.fc44 Β· GPL-3.0-or-later
- opensuse-leap 16.0: certmonger 0.79.19-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: certmonger 0.79.19-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: certmonger 0.79.19-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: certmonger 0.79.19-160000.2.2 Β· GPL-3.0-or-later
- ubuntu jammy: certmonger 0.79.14+git20211010-2ubuntu1 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu noble: certmonger 0.79.19-1build4 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu questing: certmonger 0.79.20-2build1
- ubuntu resolute: certmonger 0.79.21-1 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu stonking: certmonger 0.79.21-1build1 Β· GPL-3.0-or-later WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms