19c7f93882
The goal of this patch is to add the function that once we detect an amphora's cert will expire in 2 weeks from utcnow, we will update its cert with a new one and update its db information at the same time. In order to achieve this target, I did the following changes: Add 2 new columns cert_busy and cert_expiration in amphora table Add methods to get cert expiration date from PEM server_pem and update db info Use the new REST agent method to perform cycling Add process in housekeeping to facilitate rotation Add unit tests Change-Id: I28578a3e560ee09ba300788a5423863c893b8638 |
||
---|---|---|
.. | ||
__init__.py | ||
house_keeping.py |