CERTMONGER(5)
๐ CERTMONGER(5) ๐
okay bestie, so this is certmonger.conf(5) โ the File Formats Manual page for certmonger.conf, and yes it's giving very "I read the docs so you don't have to" energy. come sit with me ๐ซถ
โจ NAME โจ
certmonger.conf โ the configuration file for certmonger. that's it, that's the name, slay ๐
๐ธ DESCRIPTION ๐ธ
so certmonger.conf is where all the default settings that certmonger uses live. its format is more or less that of a typical INI-style file, which is honestly so cute and familiar of it.
the only sections currently of note are named defaults and selfsign. (yes there are more sections below, keep reading, I'm getting there ๐ฆ)
๐ DEFAULTS ๐
within the defaults section, these variables and values are recognized:
notify_ttlsโ this is the list of times, given in seconds, before a certificate's not-after validity date (which everyone just calls its expiration time) when certmonger should warn that the certificate will soon no longer be valid. if this value isn't specified, certmonger will try to use the value of thettlssetting instead. the default list of values is"2419200, 604800, 259200, 172800, 86400, 43200, 21600, 7200, 3600". โฐenroll_ttlsโ this is the list of times, given in seconds, before a certificate's not-after validity date (a.k.a. its expiration time) when certmonger should attempt to automatically renew the certificate, if it's configured to do so. if this value isn't specified, certmonger will try to use the value of thettlssetting instead. the default list of values is"2419200, 604800, 259200, 172800, 86400, 43200, 21600, 7200, 3600". ๐notification_methodโ this is the method by which certmonger will notify the system administrator that a certificate will soon become invalid. the recognized values aresyslog,mail, andcommand. the default issyslog. when sending mail, the notification message will be the mail message subject. when invoking a command, the notification message and type will be available in the"CERTMONGER_NOTIFICATION"and"CERTMONGER_NOTIFICATION_TYPE"environment variables, and the related request's nickname/ID will be available in the"CERTMONGER_NOTIFICATION_CERT_NICKNAME"environment variable. ๐ฌnotification_destinationโ this is the destination to which certmonger will send notifications. it can be a syslog priority and/or facility, separated by a period, it can be an email address, or it can be a command to run. the default value isdaemon.notice. ๐ฎkey_typeโ this is the type of key pair which will be generated, used in certificate signing requests, and used when self-signing certificates.RSAis supported.EC(also known asECDSA) is also supported. the default isRSA. ๐rsa_key_sizeโ this is the size of an RSA key if the value is not included in a certificate request. if this value is not set then the default is2048. the minimum value allowed is1024. ๐symmetric_cipherโ this is the symmetric cipher which will be used to encrypt private keys stored in OpenSSL's PEM format. recognized values includeaes128andaes256. the default isaes128.
bestie, it is not recommended that this value be changed except in cases where the default is incompatible with other software. no cap. ๐
digestโ this is the digest algorithm which will be used when signing certificate signing requests and self-signed certificates. recognized values includesha1,sha256,sha384, andsha512. the default issha256.
same warning, same vibe: it is not recommended that this value be changed except in cases where the default is incompatible with other software. ๐
nss_ca_trustโ these are the trust attributes which are applied to CA certificates which should be trusted, when they are saved to NSS databases. the default isCT,C,C. ๐nss_other_trustโ these are the trust attributes which are applied to certificates which are not necessarily to be trusted, when they are saved to NSS databases. the default is,,. ๐ซฅmax_key_use_countโ when attempting to replace a certificate, if certmonger has previously obtained at least this number of certificates using the current key pair, it will generate a new key pair to use before proceeding. there is effectively no default for this setting. ๐max_key_lifetimeโ the amount of time after a key was first generated when certmonger will attempt to generate a new key pair to replace it, as part of the process of replacing a certificate. the value is specified as a combination of years (y), months (M), weeks (w), days (d), hours (h), minutes (m), and/or seconds (s). if no unit of time is specified, seconds are assumed. the date when a key was generated is not recorded if the key was not generated by certmonger, or if the key was generated with a version of certmonger older than 0.78, and for those cases, this option has no effect. there is effectively no default for this setting. ๐๏ธ
๐ง SELFSIGN ๐ง
within the selfsign section, these variables and values are recognized:
validity_periodโ this is the validity period given to self-signed certificates. the value is specified as a combination of years (y), months (M), weeks (w), days (d), hours (h), minutes (m), and/or seconds (s). if no unit of time is specified, seconds are assumed. the default value is1y. โจpopulate_unique_idโ this controls whether or not self-signed certificates will have theirsubjectUniqueIDandissuerUniqueIDfields populated. while RFC5280 prohibits their use, they may be needed and/or used by older applications. the default value isno. ๐ง
๐ LOCAL ๐
within the local section, these variables and values are recognized:
validity_periodโ this is the validity period given to the locally-signed CA's certificate when it is generated. the value is specified as a combination of years (y), months (M), weeks (w), days (d), hours (h), minutes (m), and/or seconds (s). if no unit of time is specified, seconds are assumed. if not set, the value of thevalidity_periodsetting from theselfsignsection, if one is set there, will be used. the default value is1y. ๐
โญ SCEP โญ
within the scep section, these variables and values are recognized:
challenge_password_otpโ this controls whether the SCEP challenge password is treated as a one-time password. if set toyesthen the challenge password and/or challenge password file will be removed from the tracking request after the first certificate issuance, so will not be sent with renewal requests. the default isno. ๐
๐ BUGS ๐
found one? pls file tickets for any that you find at https://fedorahosted.org/certmonger/ โ they want to hear about it fr fr ๐ญ
๐ SEE ALSO ๐
certmonger(8) certmonger_selinux(8) โ go read those too, iykyk ๐ฆ
and that's the whole page, bestie!! this one came from the certmonger Manual, dated May 12, 2015 โ so if you're reading this, just know the certmonger girlies have been holding it down since then. periodt. ๐ โจ๐
๐ฆ 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 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
- 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