Windows IIS Setup
For Windows Server with IIS.
This guide uses Win-ACME to issue, install, and renew the certificate automatically.
Requirements
- You can access the server through RDP.
- IIS already has a binding for the domain, at least on port 80.
- The domain points to this server.
- You have the Server URL, EAB MAC ID, and EAB MAC key.
TIP
If the IIS site only has a default wildcard binding, Win-ACME may not identify it correctly. Add a clear Host Name binding first.
1. Install Win-ACME
- Open https://www.win-acme.com/.
- Download the latest release.
- Extract it to:
text
C:\Program Files\Win-ACME- Run
wacs.exeonce to confirm it works.
2. Issue and Install
Open PowerShell as Administrator.
Single domain, including the root domain and www by default:
powershell
& "C:\Program Files\Win-ACME\wacs.exe" `
--source iis `
--host "example.com,www.example.com" `
--store certificatestore `
--installation iis `
--baseuri "your Server URL" `
--eab-key-identifier "your EAB MAC ID" `
--eab-key "your EAB MAC key" `
--accepttosMulti-domain:
powershell
& "C:\Program Files\Win-ACME\wacs.exe" `
--source iis `
--host "example.com,www.example.com,example.net,shop.example.org" `
--store certificatestore `
--installation iis `
--baseuri "your Server URL" `
--eab-key-identifier "your EAB MAC ID" `
--eab-key "your EAB MAC key" `
--accepttos3. Wildcard Certificate
Wildcard coverage should include:
text
example.com
*.example.comWildcard certificates require DNS validation. Win-ACME needs the matching DNS plugin, such as Cloudflare, Route53, or Azure DNS.
Cloudflare plugin example:
powershell
& "C:\Program Files\Win-ACME\wacs.exe" `
--target manual `
--host "example.com,*.example.com" `
--validation cloudflare `
--cloudflareapitoken "Cloudflare API Token" `
--store certificatestore `
--installation iis `
--baseuri "your Server URL" `
--eab-key-identifier "your EAB MAC ID" `
--eab-key "your EAB MAC key" `
--accepttosWARNING
Win-ACME DNS plugin parameters may vary by version. Use wacs.exe --help for your installed version.
4. Confirm IIS Binding
Open:
text
Server Manager -> Tools -> Internet Information Services (IIS) ManagerThen:
text
Sites -> your site -> BindingsConfirm that HTTPS on port 443 has been created.
5. Check Renewal
powershell
& "C:\Program Files\Win-ACME\wacs.exe" --list --baseuri "your Server URL"For troubleshooting, add:
powershell
--verbose6. Browser Check
text
https://example.com