Skip to content

Add management server handler to change certificate lifetime#362

Closed
osirisinferi wants to merge 4 commits intoletsencrypt:masterfrom
osirisinferi:add-cert-lifetime-modifier-to-management-interface
Closed

Add management server handler to change certificate lifetime#362
osirisinferi wants to merge 4 commits intoletsencrypt:masterfrom
osirisinferi:add-cert-lifetime-modifier-to-management-interface

Conversation

@osirisinferi
Copy link
Contributor

Partly related to #353 and #361

This PR adds a new endpoint to the management interface: /change-cert-lifetime/

It takes an integer as value (i.e. /change-cert-lifetime/123) which will set the certificate lifetime to the value amount of days.

The output will show a JSON structure with "Old" and "New" containing the previous and new certificate lifetimes if successful. It will return a HTTP 400 if the requested value wasn't an integer > 0 and it will return a HTTP 500 if something else went wrong.

@aarongable
Copy link
Contributor

Superceded by #361

@aarongable aarongable closed this Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants