Video How to Install let’s Encrypt with IIS on Window server 2022
Video : Install Let’s Encrypt free SSL on Windows with Auto renewal using WACS ACME client
To install Let’s Encrypt with IIS on Windows Server 2022, you can follow these steps:
- Install the Windows Server 2022 and ensure that IIS (Internet Information Services) is installed and configured correctly.
- Download and install the “Win32 OpenSSL” package from the Shining Light Productions website (http://slproweb.com/products/Win32OpenSSL.html). Choose the appropriate version based on your system architecture (32-bit or 64-bit).
- Install the “URL Rewrite” module for IIS. You can download it from the Microsoft website or use the Web Platform Installer (Web PI) to install it.
- Download and install the latest version of “Certbot,” which is the official Let’s Encrypt client for Windows. You can download it from the Certbot website (https://certbot.eff.org/lets-encrypt/windows-other).
- After the installation, open the command prompt as an administrator and navigate to the Certbot installation directory.
- Run the following command to generate a new Let’s Encrypt certificate:
certbot certonly --webroot -w C:\path\to\your\website -d yourdomain.com
Replace “C:\path\to\your\website” with the actual path to the root directory of your website and “yourdomain.com” with your domain name. This command will generate the certificate files.
- Once the certificate is generated, open the IIS Manager.
- In the IIS Manager, select the server node in the Connections pane, and double-click on “Server Certificates” in the center pane.
- In the Actions pane, click on “Import…” to import the Let’s Encrypt certificate files. Browse to the location where the certificate files are saved and select the appropriate files (e.g., “yourdomain.com.crt” and “yourdomain.com.key”).
- After importing the certificate, go back to the IIS Manager and select your website in the Connections pane.
- In the center pane, double-click on “Bindings” under the “Actions” section.
- Click on “Add…” to add a new binding.
- In the Add Site Binding window, select the appropriate Type (e.g., “https”), IP address, Port (usually 443), and choose the imported Let’s Encrypt certificate from the SSL certificate drop-down list.
- Click on “OK” to save the binding.
- Restart your website in IIS to apply the changes.
Now, Let’s Encrypt certificate should be successfully installed and configured for your website on Windows Server 2022 with IIS. Make sure to renew the certificate before it expires to ensure uninterrupted HTTPS access to your website.