How To Install Let's Encrypt On Windows Server 2019
How To Install Let's Encrypt On Windows Server 2019
Introduction
Today most of the websites are secured using SSL and its good
for SEO. Normally we get SSL certificated from Certificate
Authority (CA). So if we need to enable https for our website
hosted on a Windows server we need to get a certificate from a
Certificate Authority (CA). Let’s Encrypt is a certificate authority
that provides free SSL certificates for our website names . More
details about Let’s Encrypt can be get from their official website.
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 1/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
For installing IIS first log into your Windows server 2019 and
Open server Manager from Windows Start
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 2/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
The Add Roles And Features Wizard will open. Click Next on it.
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 3/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
Choose “select a server from the server pool” option. Select Our
own server from the below list and Click Next
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 4/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 5/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 6/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
This completes the IIS install. Now lets move to the next section
which is creating a website through IIS.
Now for creating a website first Open IIS manager from Server
Manager itself. Choose IIS >> Right click at our Server Name
and choose “Internet Information Services ( IIS) Manager”
From IIS Manager, Right click on Server Name and click “Add
website” option
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 7/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
In the site name filed, give your website name. In this article, we
gave the name as certbot.supporthost.in
In the hostname filed give your website name again. In our case
its “certbot.supporthost.in”
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 8/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
At this point our Windows Server 2019 is installed with IIS and
website is created through IIS manager. Also we are ready to
issue Lets Encrypt SSL/TLS certificate for our website. So lets
see how this can be done on next section.
b. Using win-acme Client
1 https://dl.eff.org/certbot-beta-installer-win32.e
After downloading got completed, run the installer by double
clicking on the install file. The installer wizard will open and click
Next.
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 9/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 10/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
This completes the certbot ACME package install. Now lets test
it. For that , open Windows cmd, and type below command.
1 certbot --help
The result will look like below.
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 12/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
After that from IIS Manager itself, go to our sites section. Click
on bindings.
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 13/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 14/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
For that , choose “Certbot Renew” tab >> Choose Properties >>
Click Actions tab >> Click Edit.
Only Follow this section if you don’t want to use certbot ACME
client SSL issue which we discussed in above section.
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 15/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
Extract the zip folder that downloaded and save it where you
needed. In my case I saved it in Downloads folder itself. After
that go the direction and double click “wacs.exe"
win-acme client will scan our live websites from IIS and will
show the results. Now we need to select our website by
imputing the site identifier number that shows by win-acme
client itself. In our case the number is “2”. So I entered “2”
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 16/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
Okay, this completes the Lets Encrypt SSL install using win-
acme client. Now we can quit the console by typing “Q”
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 17/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
Now we can also test our the SSL certificate renewal by running
the “wacs.exe” file again.
We will get a list of all lets encrypt SSL certificates in the server.
Enter the corresponding number for the SSL certificate that we
wish to renew. In our case its “2”
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 18/19
23/11/22, 07:54 How to Install Let’s Encrypt on Windows Server 2019
Conclusion
In this tutorial, we discussed about how to install Lets Encrypt
SSL/TLS certificate in a Windows Server 2019. We also
discussed few errors we faced. I hope this article is informative.
Leave your thoughts at the comment box.
https://supporthost.in/how-to-install-lets-encrypt-on-windows-server-2019/ 19/19