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:
powershell
& "C:\Program Files\Win-ACME\wacs.exe" `
--source iis `
--host example.com `
--store certificatestore `
--installation iis `
--baseuri "your Server URL" `
--eab-key-identifier "your EAB MAC ID" `
--eab-key "your EAB MAC key" `
--accepttosWith www:
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" `
--accepttos3. 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.
4. Check Renewal
powershell
& "C:\Program Files\Win-ACME\wacs.exe" --list --baseuri "your Server URL"For troubleshooting, add:
powershell
--verbose5. Browser Check
text
https://example.com