letsencrypt-siteextension icon indicating copy to clipboard operation
letsencrypt-siteextension copied to clipboard

Automatic renewal

Open bickycheese opened this issue 7 years ago • 6 comments

Hi,

First off, thanks for this awesome extension, I love it! 🌈 Yesterday I received an email that I needed to renew my certificate. Hmm, automatic renewal doesn't kick in? I launched the extension again (next, next, ...) and it renewed fine. Then I checked the web jobs but there doesn't seem to be any?

What are the steps required to add them?

Thanks in advance!

bickycheese avatar Feb 28 '18 15:02 bickycheese

From the docs:

If you publish your project from Visual Studio with the "Delete Existing files" option, you will remove the web jobs the site extension uses to renew the certificate once they expire every 3 months (you can renew them manually or install the site extension again after publish).

larsekman avatar Mar 01 '18 14:03 larsekman

@larsekman I'm using Azure Deploy. (without Web Deploy)

bickycheese avatar Mar 01 '18 14:03 bickycheese

@stannynuytkens what do you mean with Azure Deploy? Because one of the nice things about webdeploy if you don't do the check "Delete Existing Files" is that it leaves files, that it don't know about intact. My guess it that whatever deploy method you uses don't do that so it probably wipes out the App_Data folder and with it goes the web jobs for the site extension.

sjkp avatar Mar 04 '18 20:03 sjkp

Azure Deploy I'm not sure if this will wipe the App_Data folder so I'll try and recreate the jobs by reinstalling this extension.

bickycheese avatar Mar 05 '18 06:03 bickycheese

@stannynuytkens Where you able to resolve this?

sjkp avatar May 20 '18 20:05 sjkp

Link changed recently: https://github.com/Microsoft/vsts-tasks/tree/master/Tasks/AzureRmWebAppDeploymentV4

That is, in fact, web deploy via VSTS. The option to delete all files will be in the VSTS build task.

MisinformedDNA avatar Jun 03 '18 10:06 MisinformedDNA