This article outlines step-by-step instructions to install and configure an SSL certificate on Windows Server using IIS Manager for different versions (2012 – 2022). This ensures secure HTTPS communication on websites hosted through IIS.
Requirement | Description |
---|---|
SSL Certificate | A valid certificate from a Certificate Authority (CA) |
IIS Role | Installed on your Windows Server |
Admin Rights | Local Administrator privileges |
CSR | You must have already generated a Certificate Signing Request (CSR) |
Windows Server Version | IIS Version |
---|---|
Windows Server 2012 | IIS 8.0 |
Windows Server 2016 | IIS 10.0 |
Windows Server 2019 | IIS 10.0 |
Windows Server 2022 | IIS 10.0 |
⚠ All steps below apply to all supported versions unless explicitly noted otherwise.
Double-click each .crt
or .p7b
file from the CA.
Click Install Certificate.
Choose Local Machine and click Next.
Select Place all certificates in the following store:
Use Trusted Root Certification Authorities for root.
Use Intermediate Certification Authorities for intermediates.
Finish the wizard.
Press Win + R
, type inetmgr
, press Enter.
In the Connections pane, click the Server Name (not the site).
Double-click Server Certificates.
Click Complete Certificate Request… in the Actions panel.
Browse to your certificate file (.cer
or .crt
) from the CA.
Add a Friendly Name (e.g., example.com-2025
).
Select Personal certificate store.
Click OK.
✅ You should now see the certificate listed in the Server Certificates panel.
In IIS Manager, expand Sites > select your target website.
Click Bindings… from the right Actions pane.
In the Site Bindings window:
Click Add (or select existing HTTPS binding and click Edit).
Type: https
IP Address: Choose server IP or All Unassigned
Port: 443
Hostname: (Optional – required if using SNI)
SSL Certificate: Select your certificate by friendly name.
Click OK, then Close the Bindings window.
You can restart the IIS service to apply changes.
Select the server node.
Click Restart in the Manage Server section.
Visit your site in a browser: https://yourdomain.com
Confirm:
🔒 Lock icon appears
No certificate errors
Issue | Resolution |
---|---|
Cert not in dropdown during binding | Ensure the CSR and the installed cert match. |
Private key missing | Import the certificate via .pfx with private key. |
Browser says untrusted | Install missing intermediate/root certs. |
Port 443 not responding | Ensure it is open in Windows Firewall and not used by other services. |
SNI needed for multiple HTTPS sites | Enable “Require Server Name Indication” in binding. |
.pfx
Certificate (with Private Key)If you have a .pfx
file (often exported from another server):
Go to Server Certificates > click Import…
Browse to .pfx
, enter the password, and select Allow export if needed.
Click OK, and it will appear in the list.
Use 2048-bit or higher key length.
Renew SSL before expiry (30 days recommended).
Enable TLS 1.2 or higher; disable older protocols via Group Policy or registry.