0% found this document useful (0 votes)
15 views15 pages

How To Install Let's Encrypt in Windows Server 2022

This document provides a step-by-step guide on how to install Let’s Encrypt SSL certificates on Windows Server 2022, emphasizing the importance of SSL for security and SEO. It outlines prerequisites, including having a dedicated server, administrative access, and a domain name, followed by detailed instructions on installing IIS, creating a test site, downloading the win-acme client, and generating the SSL certificate. The tutorial concludes by confirming the successful installation of the SSL certificate and its automatic renewal feature.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views15 pages

How To Install Let's Encrypt in Windows Server 2022

This document provides a step-by-step guide on how to install Let’s Encrypt SSL certificates on Windows Server 2022, emphasizing the importance of SSL for security and SEO. It outlines prerequisites, including having a dedicated server, administrative access, and a domain name, followed by detailed instructions on installing IIS, creating a test site, downloading the win-acme client, and generating the SSL certificate. The tutorial concludes by confirming the successful installation of the SSL certificate and its automatic renewal feature.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

4.0 Special Coupons Deals

HostAdvice / How To / Web Hosting / Windows /


How to Install Let’s Encrypt in Windows Server 2022

Who we are Advertising disclosure

How to Install Let’s Encrypt in


Windows Server 2022
Arvind Singh
Hosting Expert 4 min read

May 22, 2023 2:46 PM

SSL certificates on any website serve two major purposes. One is to


ensure the security of the connection established between the client
and the server. Another is to improve the SEO score of the website.
Having an SSL gives your website an upper hand over the others as
search engines prefer websites with SSL over the ones without it.
Let’s Encrypt can prove to be the best companion of your website in
providing this as its certificates are recognized as trusted certificates
by all major web browsers.

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 1/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

In this article, we’ll be guiding you through the process of generating


Let’s Encrypt certificates on your Windows Server 2022.

Before diving straight into the process make sure that you have the
following prerequisites:

1. You’ll obviously need to have a dedicated server or a cloud VPS


with Windows Server 2022 installed.

2. Make sure that you’re logging in as an administrative user via


Remote desktop protocol.

3. One more thing you’ll need is a domain name that is pointed


towards your dedicated server or cloud VPS, whatever you’re
using, and you’re all set to go.

Install IIS (if you don’t have it already)

1. Open your Start Menu and search for Server Manager.

2. In Server Manager, you’ll see Add roles and features in the


dashboard. Click on it.

3. A new window will open. Click on the Next button to move forward.

4. The next page will ask you to choose between the two types of
installation types. Click on Role-based or feature-based
installation and then click on the Next button.

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 2/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

5. The next page is Server selection. Click on Select a server from the
server pool. You’ll see a Server Pool list. Select your server from it
and click on the Next button.

6. From the list of Roles select Web Server (IIS). A pop-up window will
appear. Click on the Add Features button without changing
anything. Click on Next.

7. Don’t make any changes on the next page also and click on the Next
button.

8. The next page is Web Server Role (IIS). Click on Next and on the
next page leave everything as it is. Click on the Next button.

9. This is the confirmation page. You can review all your selections
here and then click on the Install button. This will start the
installation.

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 3/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

After this, open a web browser and enter your domain name. You
should see something like the following screenshot. This is the default
IIS page.

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 4/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

Create a test site using HTML

Go to file explorer and navigate to C:\inetpub. Create a new folder and


give it the name of your domain. Create a new file here. Name it
index.html. Open it with notepad and enter the following code in it.

1.
<!DOCTYPE html>
2.
3. <html>
4.
5. <head>
6.
7. <title>HostAdvice Test</title>
8.
9. </head>
10.
11. <body>
12.
13. <h1>Testing is fun</h1>
14.
15. <p> HostAdvice Test</p>
16.
17. </body>
https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 5/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022
18.
19. </html>

Add the test site to IIS

1. Go to the search menu and enter IIS.

2. Open the IIS manager. Under connection on the left panel, click on
Host and then Sites.

3. Under sections in the right panel, click on the Add Website.

A new pop-up window will open up. Fill in a name in the box under Site
Name. The Application pool is supposed to be the same as the Site
Name. Under Physical path put the path of the file index.html. Put your
website’s address under Hostname and leave everything else as
default. Make sure the Start Website immediately checkbox is
checked. Click on the OK button.

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 6/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

Open a web browser and visit your website again by entering the
domain name. You’ll no longer see the IIS welcome page. Instead,
you’ll see the website you created using HTML.

Download a client to generate Let’s Encrypt certificates

The internet is filled with a host of clients to generate Let’s Encrypt


certificates and it is up to you to choose the right fit for you. However,

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 7/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

for this tutorial, we’ll be using the win-acme client because of its
simple interface and highly developed command-line application. A
pro of this client is that it also automatically renews the certificates
for you. Follow the following steps to download the client.

1. Go to the Github page of win-acme.

2. Scroll down a little, you’ll see the assets section. Find the zip file
with the name win-acme.v2.x.x.x.zip

3. Extract the application after downloading.

Generating the certificates, finally!

Find wacs.exe from the folder you downloaded and run it. As it is an
application downloaded from the internet, you might get a warning
pop-up from Windows Defender. But it is completely safe to run this
application as it is open source. Go ahead and click on Run Anyway,
under More info.

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 8/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

1. In the application, you’ll be given a couple of options and then asked


to choose one of them. Press the N key to choose the Create a new
certificate option.

2. Then you’ll be asked to select the kind of certificate you want to


create. Press 1 as we want to choose the Single binding of an IIS
site.

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 9/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

3. You’ll be asked to choose the website you want to generate the


certificate for. Choose the test website we created.

4. You’ll now be asked to enter your email address and then agree
with the terms and conditions.

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 10/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

Yayy!! You have successfully generated an SSL certificate for your


website. Not just this, the application will also renew the certificate
whenever it’s due.

Open a web browser and try accessing your website using HTTPS.
You’ll also see the Connection is secure dialogue box with the
certificate section saying it’s valid.

SSL certificates are kind of a must-have now and Let’s Encrypt lets
you generate one for yourself easily, as demonstrated in the tutorial
above. We hope to have helped you with generating an SSL certificate
and securing the connection between the user and the server.

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 11/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

How To Set up a VSFTPD How To Set up a VSFTPD


Server on a CentOS 7 VPS Server on an Ubuntu
or Dedicated Server 16.04 VPS or Dedicated
Brief Description FTP is usually Server
insecure exposing clear-text
Brief Description FTP data is usually
passwords, userna
insecure since information
2 min read (usernames, pa
2 min read

Eliran Ouzan
Avi Ilinsky
Web Designer & Hosting
Hosting Expert Expert
Apr 23, 2018 Apr 23, 2018

How to use phpMyAdmin


to develop a website

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 12/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022

(without MySQL How to Install MySQL on a


experience) Windows Web Server
Brief description A web developer
Running Apache
who is not well versed into coding
websites f This tutorial will show you how to
install the MySQL database on a
2 min read
Windows serve
Idan Cohen 3 min read

Marketing Expert

HostAdvice.com provides professional web hosting reviews fully independent of any other
entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those
reviewed. While monetary compensation is received from a few of the companies listed on this
site, compensation of services and products have no influence on the direction or conclusions
of our reviews. Nor does the compensation influence our rankings for certain host
companies. This compensation covers account purchasing costs, testing costs and royalties
paid to reviewers.

Are You a Hosting Owner?


Sign in or register to manage your
hosting account

Register Log In

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 13/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022
General Hosting types

About Us Web Hosting

Contact Us Shared Hosting

Human Sitemap WordPress Hosting

Submit Your Web Host Cloud Hosting

Claim Web Hosting VPS Hosting

Disclosure Dedicated Servers

Personal Data Removal Request Cheap VPS

Privacy Policy Reseller Hosting

Terms Of Service Website Builders

Cheap Web Hosting

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 14/15
4/19/24, 2:57 PM How to Install Let’s Encrypt in Windows Server 2022
Tools Resources

Who Is Hosting? Blog

Market Share 2024 News

Reverse IP Lookup How To

Web Hosting side by side


comparison

Best Accessibility Tools

© 2024 | HostAdvice.com

https://hostadvice.com/how-to/web-hosting/windows/how-to-install-lets-encrypt-in-windows-server-2022/ 15/15

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy