About changing the certificate renewal timing of Azure Let's encrypt

I use Azure Let's encrypt to renew the certificate of a web server built with Azure Web App.
On the Azure Web App, the batch I developed is also regularly executed as an Azure web job.

The other day, the certificate was renewed by Azure Let's encrypt while the web job was running.
It seems that the Azure Web App was restarted during the update process, and the web job was interrupted.

I don't want to interrupt the periodic execution of the web job, so I set the time for certificate renewal by Azure Let's encrypt.
I would like to change it, but is it possible?

Application name:Azure Let's Encrypt
Creator:SJKP
Version:1.0.5

Hi and welcome to the LE community forum!

It should be possible to reload the web service instead of restarting it.
Or, if not possible, to remove that restart from the renewal process and schedule it at a different time via another job.

Just so we are all on the same page:
GitHub - sjkp/letsencrypt-siteextension: Azure Web App Site Extension for easy installation and configuration of Let's Encrypt issued SSL certifcates for custom domain names.
Shows:
image
And the last change to the code appears to have been made around 10 months ago. :frowning:

1 Like

It seems like the extension is hardcoded to use the time of day of whenever the Web Job was last deployed.

1 Like

Thank you for your reply.

I'm using the Windows version (IIS) of Azure App Service, but it doesn't seem to provide a way to reload the IIS service from the Azure portal.

1 Like

Thank you for your reply.

Does deploy mean manual certificate renewal?

Certainly, if you perform manual update, the following log will be output,
It looks like the time you manually run is being used to schedule automatic certificate renewals from the next time onwards.

[12/18/2020 08:52:20 > 74d662: INFO] Executed 'Functions.AddCertificate' (Succeeded, Id=a422b5d8-8e1e-4527-a8f2-0246ad152e9d)
[12/18/2020 08:52:20 > 74d662: INFO] The next 5 occurrences of the schedule will be:
[12/18/2020 08:52:20 > 74d662: INFO] 1/18/2021 8:52:20 AM
[12/18/2020 08:52:20 > 74d662: INFO] 2/18/2021 8:52:20 AM
[12/18/2020 08:52:20 > 74d662: INFO] 3/18/2021 8:52:20 AM
[12/18/2020 08:52:20 > 74d662: INFO] 4/18/2021 8:52:20 AM
[12/18/2020 08:52:20 > 74d662: INFO] 5/18/2021 8:52:20 AM

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.