-
-
Notifications
You must be signed in to change notification settings - Fork 17
Conversation
Add a check to renew certificate if is close to expiring (expires within 30 days)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for opening this pull request! Be sure to follow the pull request template!
I am a bot, here are the test results for this PR: |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
What do you guys think about that? |
I am a bot, here are the test results for this PR: |
I am a bot, here are the test results for this PR: |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Description:
A new certificate if generated if one is missing. I added a check to renew certificate if the one that already exists is close to expiring (expires within 30 days)
Benefits of this PR and context:
Keeps the certificate up to date
How Has This Been Tested?
Ran the script with no certificate present - a new one is generated
Ran the script when existing certificate is expired - a new one is generated
Ran the script when existing certificate is expiring within 365 days - no new certificate is generated
Source / References: