puppetlabs / puppetserver-ca-cli

A simple Ruby CLI tool to interact with the Puppet Server's included Certificate Authority
Apache License 2.0
3 stars 24 forks source link

(PE-37501) Use bulk signing endpoints when possible #119

Closed nmburgan closed 9 months ago

nmburgan commented 9 months ago

Now that we have the /sign and /sign/all endpoints, this modifies the code to use these endpoints when the server version is 8.4.0+ or newer with these endpoints. Because the endpoints don't support setting the TTL, this falls back to the /certificate_status endpoint if TTL is specified.