CERTMONGER(5)

๐Ÿ“ฆ
version 0.79.21 ยท 4 versions
, in alpine 3.24, centos-stream 10, centos-stream 9, debian trixie, fedora 43, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’– 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 the ttls setting 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 the ttls setting 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 are syslog, mail, and command. the default is syslog. 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 is daemon.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. RSA is supported. EC (also known as ECDSA) is also supported. the default is RSA. ๐Ÿ”‘
  • 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 is 2048. the minimum value allowed is 1024. ๐Ÿ“
  • symmetric_cipher โ€” this is the symmetric cipher which will be used to encrypt private keys stored in OpenSSL's PEM format. recognized values include aes128 and aes256. the default is aes128.
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 include sha1, sha256, sha384, and sha512. the default is sha256.
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 is CT,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 is 1y. โœจ
  • populate_unique_id โ€” this controls whether or not self-signed certificates will have their subjectUniqueID and issuerUniqueID fields populated. while RFC5280 prohibits their use, they may be needed and/or used by older applications. the default value is no. ๐Ÿง“

๐ŸŒˆ 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 the validity_period setting from the selfsign section, if one is set there, will be used. the default value is 1y. ๐ŸŒŸ

โญ 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 to yes then 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 is no. ๐Ÿ”

๐Ÿ’€ 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