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. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: dev.lemarcheduquartier.com

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: https://acme-v01.api.letsencrypt.org/
Config Folder: x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\httpsacme-v01
.api.letsencrypt.org
Certificate Folder: x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\httpsacm
e-v01.api.letsencrypt.org
Loading Signer from x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\httpsacm
e-v01.api.letsencrypt.org\Signer

Getting AcmeServerDirectory
Loading Registration from x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\ht
tpsacme-v01.api.letsencrypt.org\Registration
Checking Renewals
Checking IIS dwcpcommunity.org.uk (x:\xxxxxxxxxxx\dwcpcpmmunity.org.uk) R
enew After 04/06/2019
Checking IIS dev.lemarcheduquartier.com (x:\xxxxx\xxxxxxx\dev.lemarcheduquart
ier.com) Renew After 13/11/2018
Renewing certificate for IIS dev.lemarcheduquartier.com (x:\xxxxx\xxxxxxx\dev
.lemarcheduquartier.com) Renew After 13/11/2018

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

Requesting Certificate
Request Status: Created
Saving Certificate to x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\https
acme-v01.api.letsencrypt.org\dev.lemarcheduquartier.com-crt.der
Saving Issuer Certificate to x:\Users\aff\AppData\Roaming\letsencrypt-win-simpl
e\httpsacme-v01.api.letsencrypt.org\ca-0A0141420000015385736A0B85ECA708-crt.pem
Saving Certificate to x:\Users\aff\AppData\Roaming\letsencrypt-win-simple\https
acme-v01.api.letsencrypt.org\dev.lemarcheduquartier.com-all.pfx
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
ple.IISPlugin
at LetsEncrypt.ACME.Simple.IISPlugin.GetSite(Target target, ServerManager iis
Manager)
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?

Regards
Pete

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