How to Install lets Encrypt with IIS on Window server 2022

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:

  1. Install the Windows Server 2022 and ensure that IIS (Internet Information Services) is installed and configured correctly.
  2. 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).
  3. 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.
  4. 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).
  5. After the installation, open the command prompt as an administrator and navigate to the Certbot installation directory.
  6. 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.

  1. Once the certificate is generated, open the IIS Manager.
  2. In the IIS Manager, select the server node in the Connections pane, and double-click on “Server Certificates” in the center pane.
  3. 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”).
  4. After importing the certificate, go back to the IIS Manager and select your website in the Connections pane.
  5. In the center pane, double-click on “Bindings” under the “Actions” section.
  6. Click on “Add…” to add a new binding.
  7. 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.
  8. Click on “OK” to save the binding.
  9. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *