RELEASED: Public: 2019-04-12
CloudBees Internal Ticket: PLAT-831
Update Center certificates expire after 5 years and controllers using the Update Center fail to validate the context JSON signature.
This fix regenerates Update Centers self signed certificate when they are about to expire.
SelfCertificationProvider generates certificates valid for 5 years,
after that period the Update Center fails to validate the update JSON
This fixes the issue by using a periodic task that regenerates the certificates 24 hours before expiring. The new CA certificate is pushed automatically to the remote context when using this plugin in Operations Center.
Controllers using the UC installer auto-generated plugin need to be manually fixed by re-installing the UC installer.