Expirations

The expirations endpoint returns the "not-after" date for all certificates in the CA bundle, and the "next-update" date of all CRLs in the chain. This endpoint requires authentication.

Find

Get the expiration dates of your certificates and CRLs.

GET /puppet-ca/v1/expirations

Supported HTTP Methods

GET

Supported Response Formats

text/plain

Parameters

None

Examples

Expiration dates found

GET /puppet-ca/v1/expirations/mycertname

HTTP/1.1 200 OK
Content-Type: text/plain

"ca-certs":{"Puppet Enterprise CA generated at +2021-08-12 21:46:20 +0000":"2036-08-08T21:47:15UTC","Puppet Root CA: ca0627ba3b3ed9":"2036-08-08T21:47:13UTC"},
"crls":{"Puppet Enterprise CA generated at +2021-08-12 21:46:20 +0000":"2027-06-16T22:40:32UTC","Puppet Root CA: ca0627ba3b3ed9":"2036-08-08T21:47:13UTC"}