Managing agent certificates
Starting in 2023.4, PE is preconfigured to allow the certificate authority service to generate new agent certificates ahead of certificate expiration dates. This default functionality helps prevent disruption associated with certificate expirations. Optionally, you can customize the behavior of the certificate authority service.
certificate_authority
service parameters
These parameters customize the behavior of the PE certificate authority service in relation to agent certificates.
You can modify the following profile
class parameters
either in Hiera or in the Configuration data tab for the
PE Certificate Authority infrastructure node group in the
PE console.
puppet_enterprise::profile::certificate_authority::allow_auto_renewal
- A Boolean specifying whether to allow automatic renewal of agent certificates.
puppet_enterprise::profile::certificate_authority::allow_puppetlabs_certificate_authentication
- A Boolean specifying whether to allow authorization of agent certificate
requests using the using the
”pp_cli_auth”: “true”
certificate extension when RBAC tokens are not available. Token-based authentication is always used where RBAC tokens are available. puppet_enterprise::profile::certificate_authority::auto_renewal_cert_ttl
- A string representing the validity period of automatically generated agent certificates, when an agent is capable of renewing certificates and the auto-renewal feature is turned on.
puppet_enterprise::profile::certificate_authority::ca_ttl
- A string representing the default validity period of agent certificates when the auto-renewal feature is turned off.
puppet_enterprise::profile::certificate_authority::client_allowlist
- An array of additional agent cert names that can access the
certificate_status
API endpoint. This list is additional to the base PE certificate list.