Automate certificate renewal on IIS

IIS can renew publicly trusted certificates automatically with the win-acme ACME client, which creates a scheduled task and reuses your saved choices on each run. The shorter lifetimes set for 2026 to 2029 make that automation the practical way to keep HTTPS bindings current.

On this page

How can IIS certificate renewal be automated, and what do shorter lifetimes change?

win-acme is an ACMEv2 client for Windows that can issue and renew certificates for a local IIS site, and it saves your choices so a scheduled task can repeat them without manual input. The CA/Browser Forum's schedule cuts the maximum validity of subscriber certificates to 200 days from 15 March 2026, 100 days from 15 March 2027 and 47 days from 15 March 2029, which makes manual renewal unworkable for any estate with more than a handful of sites. The team that owns the IIS bindings and the team that owns the scheduled task both have to act, because a renewal that succeeds but never reaches the site's HTTPS binding still leaves the old certificate in service.

win-acme is maintained by ZeroSSL and licensed under Apache-2.0, and the home page recommends the trimmed build for most IIS servers. To start, unzip it into a permanent folder such as %programfiles%\win-acme, run wacs.exe as administrator and choose N in the main menu to create a certificate with default settings. That default workflow targets a regular, non-wildcard certificate on a local IIS instance, so wildcard certificates and other scenarios need the advanced documentation. Domain names can be derived from the site's bindings or entered by hand, and the choices are stored for every later run.

After the first certificate is issued, win-acme creates one scheduled task that renews all certificates it created, running daily at 9:00 AM under the SYSTEM account by default. A renewal happens only when the certificate is nearing expiry, when the domain list has changed (for example, after a new IIS binding is added), or when the server signals that renewal should occur. The default renewal period is 55 days and can be changed in settings.json. Check the logs in %programdata%\win-acme\$baseuri$\Log after each run, and confirm that a new binding is covered by the task before relying on it. On older IIS versions, SNI or wildcard bindings may have to be created manually, so confirm the behavior for your version in the win-acme IIS installation plugin documentation.

What the lifetime schedule means for IIS renewals

This table sets the CA/Browser Forum maximum lifetimes and reuse periods against what each step means for an IIS site renewed by win-acme. Read each row as a stage: the dates, how many renewals a year that implies, how often domain validation must be repeated, and which manual renewal habits stop working.

StageMaximum certificate validityMaximum validation reuseWhat it means on IIS
Until 14 March 2026Up to 398 days (prior limit)Prior reuse period appliesAnnual manual renewal is still workable, but the binding list should already be documented and reused by win-acme.
From 15 March 2026200 days200 days for domain and IP validation dataRoughly two to three renewals a year per site. The win-acme 55-day default period still applies until changed in settings.json.
From 15 March 2027100 days100 days for domain and IP validation dataAbout four renewals a year per site. Manual renewal every few months becomes error-prone, so rely on the scheduled task.
From 15 March 202947 days10 days for domain and IP validation dataRoughly eight renewals a year per site. Validation must be repeated often, so automated renewal with a reliable scheduled task is required.
Every renewalSet by the issuing CASet by the CA's validation ruleswin-acme reuses saved choices for each run. Confirm the renewal period in settings.json fits the lifetime the CA issues.
Sites with many bindingsSame as the stage in forceSame as the stage in forceMore bindings mean more hostnames to validate on every renewal, so check the scheduled task logs after each change.

How win-acme issues and renews certificates on IIS

win-acme issues and renews IIS certificates through a short setup run followed by a scheduled task. You unzip win-acme to a permanent folder such as %programfiles%\win-acme, run wacs.exe as administrator, and choose N in the main menu to create a certificate with default settings. The win-acme client then talks to an ACMEv2 certificate service, such as Let's Encrypt or another ACME provider, to request the certificate. The default workflow is meant for a regular, non-wildcard certificate on a local IIS instance, so wildcard certificates and other scenarios need the advanced documentation before you rely on them.

During that first run, win-acme can take the domain names from the bindings of an IIS site or accept names you enter manually. It saves those choices and reuses them for every automatic renewal, so the domain list you confirm now becomes the list that future renewals request. After the first certificate is issued, win-acme creates one scheduled task that renews all certificates the client created. By default that task runs daily at 9:00 AM under the SYSTEM account. Check the account and time against your change process, and confirm the task name and location on your own server.

The scheduled task does not reissue a certificate on every run. It renews only when the certificate is nearing expiry, when the domain list has changed, such as after you add a new IIS binding, or when the server signals that renewal should occur. The default renewal period is 55 days and can be changed in settings.json. During renewal, the IIS installation plugin switches HTTPS bindings that used the previous certificate to the new one, and it also updates matching HTTPS bindings in the source site. The --excludebindings switch prevents that second behavior. Confirm the plugin behavior on your IIS version, because the sources note that older versions may not safely add SNI or wildcard bindings, which must then be created manually.

Which win-acme build and setup path fits this IIS server

The trimmed build is the option the win-acme home page recommends for a local IIS server, and it matches the basic interface the default workflow expects. The home page listed version 2.2.9.1 as the latest release on 4 December 2026. The project is licensed under Apache-2.0 and the GitHub repository states it is officially maintained by ZeroSSL. The default workflow targets a regular, non-wildcard certificate on a local IIS instance, and other scenarios need the advanced documentation.

  • Version: the home page listed 2.2.9.1 as the latest release, so record that version when you download.
  • License: the project is licensed under Apache-2.0, which your legal or procurement team may need to review.
  • Maintenance: the repository states ZeroSSL officially maintains the project.
  • Scope: the default workflow covers a non-wildcard certificate on a local IIS instance.
  • Install: unzip the download to a permanent folder such as %programfiles%\win-acme and run wacs.exe as administrator.

Check that your IIS server is local to the client and that you need only a non-wildcard certificate before choosing this path. Confirm the download hash against the release page.

How to set up automatic IIS renewal with win-acme, in order

This sequence takes a Windows web team from a downloaded win-acme client to a certificate that renews on its own through a scheduled task. Each step ends with a check that confirms the previous step worked, so you can see the renewal path is in place before you rely on it.

  1. Download and unzip win-acme to a permanent folder

    Download the win-acme zip from the official site or the GitHub repository, which is officially maintained by ZeroSSL and licensed Apache-2.0. Unzip it to a permanent folder such as %programfiles%\win-acme, not a temporary download location, because the scheduled task will run from that path later. The home page recommends the trimmed build for most IIS setups, and also lists a pluggable build and x86 and ARM64 builds. Check that wacs.exe is present in the folder before you continue.

  2. Run wacs.exe as administrator

    Open a command prompt or PowerShell window with administrator rights, change to the win-acme folder, and start wacs.exe. Running without elevation prevents win-acme from creating the scheduled task and writing the IIS bindings it needs. You will see the main menu once the program starts. If the menu does not appear, confirm you opened the console as administrator and that the path to wacs.exe is correct.

  3. Choose the default option in the main menu

    In the main menu, enter N to create a certificate with default settings. The default workflow is meant for a regular, non-wildcard certificate on a local IIS instance. If you need a wildcard certificate or a setup that differs from a local IIS server, stop here and read the advanced documentation before choosing other options. Once you choose N, win-acme moves on to the site and domain selection.

  4. Confirm the domain names from IIS bindings

    win-acme can derive the domain names from the bindings of an IIS site, or you can enter them manually. Review the list it shows and confirm that every hostname you want on the certificate is present and that no unwanted names appear. Your choices are saved, and win-acme reuses them for every automatic renewal, so a wrong name now will carry into later renewals. If a binding is missing, add it in IIS and run through this step again.

  5. Let the first certificate issue

    After you confirm the domains, win-acme requests the first certificate from the ACME service and completes validation. When it finishes, the certificate is installed and linked to the matching HTTPS bindings in IIS. Check that the HTTPS binding for each site now shows the new certificate. Also note the IIS installation plugin behavior: it updates existing HTTPS bindings that used the previous certificate, and it may update matching bindings in the source site, unless you use the excludebindings switch. If no matching HTTPS binding exists, it creates one on port 443 and IP *.

  6. Confirm the scheduled task was created

    After the first certificate issues, win-acme creates a single scheduled task that renews all certificates it created. Open Task Scheduler and find the task that win-acme created. By default it runs daily at 9:00 AM under the SYSTEM account. Confirm the task is present and enabled. The task renews only when the certificate nears expiry, when the domain list changes (for example, after you add a new IIS binding), or when the server signals that renewal should occur.

  7. Set the renewal period and mail server in settings.json

    Open the settings.json file in the win-acme folder to adjust the renewal period. The default is 55 days, and you can change it there. Also set a mail server in this file if you want email notifications about renewals. Confirm the exact key names in the win-acme documentation for your build, since the sources do not list them here. Logs are written under %programdata%\win-acme, so check those logs after any change to confirm the setting took effect.

  8. Recreate the scheduled task without renaming it

    If the scheduled task needs to be rebuilt, for example after a change to the win-acme folder path, run wacs.exe, open More options, and choose (Re)create scheduled task. This recreates the task without changing its name, so existing references and monitoring keep working. Afterward, check Task Scheduler again to confirm the task exists with the expected schedule and account, and optionally run wacs.exe --renew --force with --verbose to test a renewal manually.

What must be in place before win-acme renews IIS certificates

win-acme renews IIS certificates unattended, so the Windows host, the install location, the IIS bindings and the account running the scheduled task all have to be set up correctly before the first run. The cards below cover each of these items and the points where the sources do not state a requirement you need to confirm.

Supported Windows and IIS environment

win-acme is an ACMEv2 client for Windows that works with Let's Encrypt and other ACME services, and it includes a basic interface for certificates on a local IIS server. The sources describe it for Windows hosts running IIS, but they do not list which Windows Server or IIS versions are supported. Confirm the exact Windows and IIS version support in the win-acme documentation before you plan the rollout. Check the current release on the win-acme home page as well, since the home page lists the latest release for the build you download.

win-acme home page

Administrator rights to run wacs.exe

The first run of wacs.exe needs an elevated session, so you must open the console or PowerShell as administrator. The getting-started guide tells you to run wacs.exe as administrator and then choose N in the main menu to create a certificate with default settings. Plan for an administrator to complete that first setup, because the later automatic renewals run without an interactive session.

Getting started guide

A permanent install folder

Unzip win-acme to a permanent folder such as %programfiles%\win-acme before you run it. The scheduled task and the saved settings depend on the executable staying in place, so do not run it from a download folder or a temporary path. If you install through the dotnet tool command instead of the zip, confirm the install location and the scheduled task behavior in the documentation.

win-acme GitHub repository

HTTPS bindings or the port 443 default

win-acme takes domain names from the bindings of an IIS site, or from names you enter manually. If no matching HTTPS binding exists, the IIS plugin creates one on port 443 and IP *, unless --sslport or --sslipaddress specify otherwise. On older IIS versions, SNI and wildcard bindings may not be created safely, so create those bindings manually; renewals are automatic after that. Check the bindings on each site before the first run.

IIS installation plugin

The SYSTEM account for the scheduled task

After the first certificate is issued, win-acme creates one scheduled task that renews all the certificates it created. By default the task runs daily at 9:00 AM under the SYSTEM account. Confirm that SYSTEM can read the certificate store and write to the log folder, and that no policy on your server blocks that account. Review the task after the first renewal cycle to confirm it ran.

Automatic renewal guide

A mail server for email notifications

win-acme writes its logs to %programdata%\win-acme\$baseuri$\Log. If you want email notifications about renewals, you must configure a mail server in settings.json, and the sources do not describe the other settings for it. Plan the mail server details, such as the host and the sender address, before you enable notifications, and confirm the exact settings in the automatic renewal documentation.

Automatic renewal guide

How the win-acme renewal flow moves through IIS

The flow starts with the daily scheduled task, which runs as SYSTEM at 9:00 AM by default and calls wacs.exe. The client checks three things: whether the certificate is nearing expiry, whether the domain list has changed, such as a new IIS binding, and whether the server signals that renewal should occur. If renewal is needed, win-acme requests a certificate from the ACME service, completes domain validation, and then the IIS plugin switches the matching HTTPS bindings to the new certificate. Check the logs under %programdata%\win-acme after each run to confirm each step completed.

The daily win-acme renewal path from scheduled task through IIS bindings to logs.

What goes wrong with IIS renewals and how to notice it

Automated renewal on IIS usually fails quietly: the certificate is issued but a binding does not change, a task does not run, or an alert never goes out. Each card below names one failure, what it looks like on the server, and where win-acme records it in %programdata%\win-acme\$baseuri$\Log.

Binding skipped by excludebindings

If the win-acme task was created with the --excludebindings switch, the IIS installation plugin will not switch HTTPS bindings to the new certificate or update bindings in the source site whose hostnames match. The certificate renews on schedule, but the site keeps serving the old one. Compare the thumbprint on each binding in IIS Manager with the newly issued certificate, and check the log folder under %programdata%\win-acme\$baseuri$\Log to confirm which switch was used.

IIS plugin reference

Unexpected HTTPS binding created

When no matching HTTPS binding exists, the IIS plugin creates one on port 443 and IP * unless --sslport or --sslipaddress say otherwise. This can put a new binding on a shared address or a port you did not intend, especially on servers hosting several sites. Review the bindings on each site after the first issuance, and check the log under %programdata%\win-acme\$baseuri$\Log for the binding values the plugin actually used.

Older IIS versions need manual bindings

On older IIS versions, the plugin may not safely add bindings where SNI or wildcard bindings are unsupported. Those bindings must be created by hand, after which renewals run automatically. If you skip this step, the first renewal may appear to succeed while the binding stays wrong. Confirm your IIS version before the first run, create the SNI or wildcard bindings manually, and then check the log folder under %programdata%\win-acme\$baseuri$\Log after a forced renewal.

Scheduled task missing or changed

win-acme creates one scheduled task that renews all certificates it issued, by default daily at 9:00 AM under the SYSTEM account. The task can be absent if the first issuance did not complete, or changed by someone editing it in Task Scheduler. Check that the task exists and runs as expected. If it is missing, use More options and (Re)create scheduled task, which keeps the same task name, then review the log under %programdata%\win-acme\$baseuri$\Log.

Automatic renewal docs

Email alerts never sent

win-acme sends email notifications only when a mail server is set in settings.json. Without that setting, renewal failures and expiry warnings are logged but nobody is told, so the problem surfaces only when a certificate lapses. Confirm the mail server entry in settings.json, then trigger a test renewal with wacs.exe --renew --force --verbose and confirm the result appears in the log under %programdata%\win-acme\$baseuri$\Log.

How to confirm IIS renewals keep happening

Once win-acme has issued a certificate for an IIS site, the renewal runs unattended, so the first check is that the scheduled task exists and is enabled. win-acme creates one scheduled task that renews every certificate it created, and by default it runs daily at 9:00 AM under the SYSTEM account. Open Task Scheduler on the server, find the task, and confirm it is enabled, shows a recent last run time, and reports a successful last run result. If the task is missing, for example after a server rebuild or a change to the binding set, you can recreate it from the More options menu in wacs.exe using the (Re)create scheduled task entry, which keeps the existing task name. Note the renewal window: win-acme renews only when the certificate is near expiry, when the domain list has changed, or when the server signals a renewal, so a quiet task log is normal between renewals.

The logs are the second check. win-acme writes them to %programdata%\win-acme\$baseuri$\Log, and the first place to look after a run is the most recent file there. To test renewal without waiting for the schedule, run wacs.exe --renew --force from the win-acme folder as administrator, and add --verbose to get detailed logging for that run. The forced run is a useful test that the stored choices and IIS bindings still work, but it does issue a new certificate, so do it in a window you have agreed with the site owner. Email notification is configured in settings.json and needs a mail server set there, so set it up before relying on alerts. The sources do not describe a built-in expiry dashboard, so add your own expiry check that reads the certificate bound in IIS and alerts well before the 55-day default renewal point. Keep a dated record of each renewal run, its log and the result, since that record is what an auditor or customer reviewer is likely to ask for.

Questions people ask about automating IIS certificates

Does win-acme support ACME for certificates on IIS?

Yes. win-acme is an ACMEv2 client for Windows that works with Let's Encrypt and other ACME services. Its basic interface handles certificates for a local IIS server, and its more advanced options cover other uses such as Apache and Exchange. The IIS installation plugin then assigns the issued certificate to the HTTPS bindings of your sites. Confirm which ACME services your organization can use before you start, since the client works with any ACMEv2 service you point it at.

Which win-acme build should I download?

The win-acme home page recommends the trimmed build for most users. The site also offers a larger pluggable build that supports plugins, along with x86 and ARM64 builds. The GitHub repository, which the project states ZeroSSL officially maintains under the Apache-2.0 license, offers a zip download and the command dotnet tool install win-acme --global. Unzip the build into a permanent folder such as %programfiles%\win-acme, then run wacs.exe as administrator. Pick the build that matches your server's architecture and your plugin needs, and check the home page for the current release before you download.

How often does the win-acme scheduled task run and renew?

After the first certificate is issued, win-acme creates one scheduled task that renews all certificates it created. By default it runs daily at 9:00 AM under the SYSTEM account. The task renews a certificate only when it is nearing expiry, when the domain list has changed (for example, after you add an IIS binding), or when the server signals that renewal should occur. You can recreate the task from the More options menu, using (Re)create scheduled task, without changing its name. Check the task after setup so you know when it runs on your server.

What is the default win-acme renewal period?

The default renewal period is 55 days. You can change it in the win-acme settings.json file. Because certificate lifetimes are getting shorter under CA/Browser Forum rules, the 55-day renewal window is a setting to review rather than assume. The CA/B Forum Baseline Requirements set the maximum validity of subscriber certificates at 200 days from 15 March 2026, 100 days from 15 March 2027 and 47 days from 15 March 2029. Renewal still needs to happen well before expiry at each of those lifetimes, so confirm the setting against the lifetime your certificate authority issues.

What happens when a win-acme renewal fails?

The scheduled task records its activity in logs under %programdata%\win-acme\$baseuri$\Log, so start there when a renewal fails. To trigger a renewal by hand, run wacs.exe --renew --force, and add --verbose for detailed logging. win-acme can send email notifications, but only after you set a mail server in settings.json. Without those notifications, a failed renewal can go unnoticed until the certificate expires, so set up alerting and check the logs on a regular schedule. The sources listed on this page do not describe any further retry behavior, so test renewal before relying on it.

Do wildcard certificates work with the default win-acme workflow?

The default workflow is built for a regular, non-wildcard certificate on a local IIS instance. Wildcard certificates and other non-standard scenarios are outside that default path, so they need the advanced documentation on win-acme.com. Check which validation method and options your wildcard certificate requires before you change the setup, and confirm them in that documentation rather than assuming the default steps will cover them.

Can win-acme issue IIS certificates for internal names?

The sources listed on this page do not say whether win-acme can issue certificates for internal names, so do not assume it can. ACME certificates are issued by a public or private certificate authority that must accept the names you request. Confirm with the win-acme advanced documentation and with your certificate authority whether internal names are supported for your setup before you plan around them.

How DeployOpen helps teams automate IIS certificate renewal

DeployOpen works with Windows web teams to set up automated certificate renewal on IIS using win-acme, an ACMEv2 client for Windows. The work starts with the sites, bindings and renewal rules your environment needs, then builds and documents the setup so your team can run it after handover.

How we scope

  • We inventory the IIS sites, HTTPS bindings and hostnames that need certificates.
  • We confirm which ACME service you will use and whether wildcard or non-standard scenarios apply.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • We install win-acme on the IIS server, configure the first certificate and confirm the IIS bindings update correctly.
  • We set up the scheduled renewal task and check the run account, schedule and logging location.
  • We test manual renewal with the force option to confirm the process works before the first automatic run.

How we hand over

  • We document the win-acme configuration, the renewal task, the log location and the steps to recreate the task.
  • We walk your team through checking renewal status and reading logs, including email notification setup if you use it.
  • We record any older IIS bindings that must be created manually because the plugin cannot add them safely.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers.
  • We can revisit the setup when new sites, bindings or certificate lifetimes change your renewal needs.
  • Ask us to confirm the current win-acme release and the CA/Browser Forum dates that apply to your certificates.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.