Installing a Let’s Encrypt certificate on IIS

Introducing Let’s Encrypt

Let’s Encrypt is a free certificate authority that issues certificates for securing Internet sites.

The process is fully automated and instantaneous.

The advantage is to be able to pass your site in HTTPS free.

Installing a certificate under IIS

1. Download WACS which is a client that allows the generation of your certificates. The client must be running on the IIS server where the site is hosted.

2. Unzip the downloaded archive.
win-acme-files

3. Copy the Web_Config.xml file to the root of your site.
copy-webconfig-in-root-folder

4. Restart the website. From the IIS console, right click on the site and restart.

5. Open a command prompt window in Administrator.

6. Run the Letsencrypt.exe file using the cmd window.

7. The following menu should appear.

8. Make the choice N for the creation of a new certificate.

9. In our case, we will make the choice 1 because we want to generate a certificate for the site lab.rdr-it.com.

10. Select the number of your site from the list.

11. The certificate generation process begins.

12. Result of the generation.

Your SSL certificate is generated and already operational. The script creates the link automatically with your site and IIS setting.

You can find the certificate in the IIS store :

Site Configuration with SSL :

Certificate Detail :

Retex : I used this type of certificate for an Office 365 hybrid migration, the Microsoft servers request a certificate recognized by a certification authority. This solution made it possible to avoid the purchase of a certificate..



Related Posts


VPN Server with Windows Server: Installation and Configuration
In this tutorial, I will explain how to set up a VPN server on Windows Server with the role of remote access and configure access with NPS. When setting up a VPN server with Windows, 3 types of VPN service are installed: PPTP L2TP SSTP In this tutori

Setting up a certification authority under Windows 2012R2 / 2016
Presentation A Certificate Authority (CA) can issue certificates for internal internet sites, RDS connections ... The advantage of having a CA is having to deploy a single certificate on the computers, and some Windows services require certificates f

Windows 10: Install an IIS web server
Presentation In this article, I will explain how to install an IIS web server on a computer with Windows 10. IIS is a Web server developed by Microsoft that is also available on servers. The version installed on the client is called IIS Express, it i

Leave a Comment