Renewal filing on windows server using IIS

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: automated renewal

It produced this output:

Let’s Encrypt (Simple Windows ACME Client)
Renewal Period: 60
Certificate Store: WebHosting

ACME Server:
Config Folder: x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\httpsacme-v01
Certificate Folder: x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\httpsacm
Loading Signer from x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\httpsacm\Signer

Getting AcmeServerDirectory
Loading Registration from x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\ht\Registration
Checking Renewals
Checking IIS (x:\xxxxxxxxxxx\ R
enew After 04/06/2019
Checking IIS (x:\xxxxx\xxxxxxx\dev.lemarcheduquart Renew After 13/11/2018
Renewing certificate for IIS (x:\xxxxx\xxxxxxx\dev Renew After 13/11/2018

Authorizing Identifier Using Challenge Type http-01
Writing challenge answer to x:\xxxxxx\xxxxxxx\
Writing web.config to add extensionless mime type to x:\xxxxxxx\xxxxxxx\dev.lem\acme-challenge\web.config
Answer should now be browsable at
Submitting answer
Authorization Result: valid
Deleting answer

Requesting Certificate
Request Status: Created
Saving Certificate to x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\https\
Saving Issuer Certificate to x:\Users\aff\AppData\Roaming\letsencrypt-win-simpl
Saving Certificate to x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\https\
Opened Certificate Store “WebHosting”
Adding Certificate to Store
Closing Certificate Store
System.Exception: Unable to find IIS site ID #0 for binding LetsEncrypt.ACME.Sim
at LetsEncrypt.ACME.Simple.IISPlugin.GetSite(Target target, ServerManager iis
at LetsEncrypt.ACME.Simple.IISPlugin.Install(Target target, String pfxFilenam
e, X509Store store, X509Certificate2 certificate)
at LetsEncrypt.ACME.Simple.Program.Auto(Target binding)
at LetsEncrypt.ACME.Simple.Plugin.Auto(Target target)
at LetsEncrypt.ACME.Simple.IISPlugin.Renew(Target target)
at LetsEncrypt.ACME.Simple.Program.CheckRenewals()
at LetsEncrypt.ACME.Simple.Program.Main(String args)
Press enter to continue.

My web server is (include version): IIS 8.5.9600

The operating system my web server runs on is (include version): Windows Server 2012 R2

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): es

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

Hi @pzh20

you have created a new certificate as pfx-file.

And it's added

to the correct Certificate Store.

But the tool you use can't find the site to replace the certificate, it's a renew command.

So create that site with a binding manual.

Looks like you have deleted the site, so a renew can't work.

Thanks Juergen,
I’m not sure what site it’s looking for. Can I remove the automated renewal and add it again?


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