fbpx
  • Huệ Nghĩa
  • Giới Thiệu
  • Quảng Cáo
  • Chính sách và bảo mật
  • Liên hệ
HUỆ NGHĨA
  • Huệ Nghĩa
  • Home
  • Chứng khoán
  • Tài chính
  • Doanh nghiệp
  • Bất động sản
  • Công nghệ
  • Vĩ mô
  • Giải trí
    • Thể thao
  • Cộng Đồng
No Result
View All Result
  • Huệ Nghĩa
  • Home
  • Chứng khoán
  • Tài chính
  • Doanh nghiệp
  • Bất động sản
  • Công nghệ
  • Vĩ mô
  • Giải trí
    • Thể thao
  • Cộng Đồng
No Result
View All Result
WWW.HUENGHIA.COM
No Result
View All Result
Home Công nghệ

How to install a Let’s Encrypt SSL cert on Microsoft IIS

Cách cài đặt Let's Encrypt SSL trên IIS Window

quanghoahcm by quanghoahcm
17 Tháng Bảy, 2020
in Công nghệ, Kiến thức
0 0
0
0
SHARES
15
VIEWS
Share on FacebookShare on Twitter

If you’ve ever wondered how to install a Let’s Encrypt certificate on a Microsoft IIS server than this post is just for you.

Let’s Encrypt has always been pretty easy to setup on a Linux box and not so much on the Windows side. Thankfully, there are now nearly a dozen different tools that make adding a Let’s Encrypt SSL certificate to a Microsoft IIS server just as easy.

In this post we’ll be focusing in on, and using the Windows ACME Simple (WACS) solution. Mostly because it’s so easy to use, how easy? Well lets take a look!

Install Let’s Encrypt on Microsoft IIS webserver

  1. Download the latest Windows ACME Simple (WACS) ZIP file from the Github releases page, https://github.com/PKISharp/win-acme/releases.
    At the time of writing this post, it is win-acme.v2.0.3.206.zip
  2. Next extract the zip file to a folder of your choice. In this example I’m placing it in my C:\inetpub\letsencrypt folder.
    extracted letsencrypt
  3. Right click on wacs.exe and select Run as Administrator to start the Windows ACME Simple wizard.
    run wacs as admin
  4. Select N to create a new certificate.
    select N new cert
  5. Next you’ll be prompted for what kind of cert to create. Select 1 for a single binding of an IIS site.
    select 1 single binding
  6. Now select which site binding to configure. Since we only have one site on this IIS server there is only one option. Select 1.
    select site binding
  7. Enter an email address to be used for notifications about any potential issues.
    enter email
  8. Finally, agree to the Terms of service and the Windows ACME Simple program takes care of the rest.
    lets encrypt iis complete

That’s it for installing a Let’s Encrypt SSL cert on IIS

In the background Windows ACME Simple will configure your IIS site to use the newly received Let’s Encrypt certificate. You can verify this by looking at the site binding details.

view cert

In addition Windows ACME Simple also adds a task to the Windows Task Scheduler which will automatically renew the Let’s Encrypt for you!

task scheduler

How to redirect HTTP to HTTPS in IIS

Now that you have a Let’s Encrypt SSL certificate added to your Microsoft IIS site, you will most likely want to redirect all non-secure (HTTP) traffic to HTTPS.

To do so, you will need to download and install the IIS Rewrite Module from here, https://www.iis.net/downloads/microsoft/url-rewrite.

Once that is completed, just follow the below steps.

  1. Open IIS Manager and select the website on the left and open URL Rewrite.
    http to https rewrite
  2. Click on Add Rule then select Blank rule.
    blank rule
  3. Next give the new rule a name and under Match URL change the Requested URL to “Matches the Pattern” and Using to “Regular Expressions” and for the Pattern type in (.*)
    rule name
  4. Expand the Conditions block and under Logical Grouping change the drop down to Match All and click on Add.
  5. For the Condition input type in {HTTPS} in Add Condition prompt. For Check if input string select Matches the Pattern. For Pattern enter ^OFF$
    add condition
  6. Now expand the Action block and select Redirect for the Action Type. In the Redirect URL enter: https://{HTTP_HOST}/{R:1} and set the Redirect type select Permanent (301)
    action block
  7. Finally, click Apply

I’ve been a big fan and donor of Let’s Encrypt for a long while now. Let’s Encrypt certs are automated, offer short lifetimes (90 days) and are completely FREE! What’s not to like about them?

Tags: Let’s Encrypt SSL
quanghoahcm

quanghoahcm

Nhạc trong ngày

http://kythuatdautu.com/wp-content/uploads/mp3/15-Ca-Khuc-Quoc-Te-Bat-Hu-Hay-Nhat-Moi-Thoi-Dai.mp3
ADVERTISEMENT
  • Trending
  • Comments
  • Latest
Du lịch núi Bà Đen bằng xe Limousine Huệ Nghĩa

Công ty Xe Khách Huệ Nghĩa LIMOSINE TÂY NINH TUYỂN DỤNG Tháng 8 năm 2020

6 Tháng Tám, 2020
Du lịch núi Bà Đen bằng xe Limousine Huệ Nghĩa

Công ty Xe Khách Huệ Nghĩa – An Giang – Sài Gòn

6 Tháng Tám, 2020
Tổng đài xe khách Huệ Nghĩa tuyến Sài Gòn – An Giang

Tổng đài xe khách Huệ Nghĩa tuyến Sài Gòn – An Giang

25 Tháng Chín, 2020

Du lịch núi Bà Đen bằng xe Limousine Huệ Nghĩa

6 Tháng Tám, 2020
Giáng Sinh An Lành – Chúc Quý Khách Mùa Giáng Sinh 2020 An Lành.

Giáng Sinh An Lành – Chúc Quý Khách Mùa Giáng Sinh 2020 An Lành.

0

With 150 million daily active users, Instagram Stories is launching ads

0

Washington prepares for Donald Trump’s big moment

0

CS:GO ELeague Major pools and tournament schedule announced

0
Giáng Sinh An Lành – Chúc Quý Khách Mùa Giáng Sinh 2020 An Lành.

Giáng Sinh An Lành – Chúc Quý Khách Mùa Giáng Sinh 2020 An Lành.

21 Tháng Mười Hai, 2020
XE HUỆ NGHĨA LIMOUSINE – TUYẾN SÀI GÒN  TÂY NINH

XE HUỆ NGHĨA LIMOUSINE – TUYẾN SÀI GÒN <=> TÂY NINH

16 Tháng Mười Hai, 2020
Phú Mỹ Hưng FLYCAM 360

Xem toàn cảnh Phú Mỹ Hưng 360 chụp trên cao bằng Flycam

15 Tháng Mười Hai, 2020
Bản đồ quy hoạch Nhơn Trạch

360 Viewer Nhơn Trạch – Đồng Nai

15 Tháng Mười Hai, 2020

Recent News

Giáng Sinh An Lành – Chúc Quý Khách Mùa Giáng Sinh 2020 An Lành.

Giáng Sinh An Lành – Chúc Quý Khách Mùa Giáng Sinh 2020 An Lành.

21 Tháng Mười Hai, 2020
XE HUỆ NGHĨA LIMOUSINE – TUYẾN SÀI GÒN  TÂY NINH

XE HUỆ NGHĨA LIMOUSINE – TUYẾN SÀI GÒN <=> TÂY NINH

16 Tháng Mười Hai, 2020
Phú Mỹ Hưng FLYCAM 360

Xem toàn cảnh Phú Mỹ Hưng 360 chụp trên cao bằng Flycam

15 Tháng Mười Hai, 2020
Bản đồ quy hoạch Nhơn Trạch

360 Viewer Nhơn Trạch – Đồng Nai

15 Tháng Mười Hai, 2020
Huệ Nghĩa – www.huenghia.com

Trang chia sẻ thông tin và kinh nghiệm về kinh doanh - bất động sản - đầu tư. Mọi thông tin trên trang mang tính chất tham khảo, chia sẻ và gợi ý. Chúng tôi không chịu trách nhiệm quyết định của bạn. Không dùng thông tin của trang thực hiện hành vi vi phạm pháp luật Việt Nam.
Liên hệ quang cáo: 0917103778

Theo dõi chúng tôi:

Browse by Category

  • Bảo hiểm
  • Bất động sản
  • Bất động sản bán
  • Cần mua
  • Chia sẻ
  • Chưa được phân loại
  • Chứng khoán
  • Cổ phiếu
  • Cộng Đồng
  • Công nghệ
  • Doanh nghiệp
  • Dự án
  • Giải trí
  • Hạ tầng
  • Huệ Nghĩa
  • Kết quả kinh doanh
  • Kiến thức
  • Kiến trúc
  • Lập trình
  • Mobile
  • Mua và Bán
  • Ngân hàng
  • Quỹ đầu tư
  • Quy hoạch
  • Startup
  • Tài chính
  • Thông tin doanh nghiệp
  • Thủ thuật
  • Thư Viện Pháp Luật
  • Thuế
  • Tiền tệ
  • Trái phiếu
  • Vĩ mô
  • Video

Recent News

Giáng Sinh An Lành – Chúc Quý Khách Mùa Giáng Sinh 2020 An Lành.

Giáng Sinh An Lành – Chúc Quý Khách Mùa Giáng Sinh 2020 An Lành.

21 Tháng Mười Hai, 2020
XE HUỆ NGHĨA LIMOUSINE – TUYẾN SÀI GÒN  TÂY NINH

XE HUỆ NGHĨA LIMOUSINE – TUYẾN SÀI GÒN <=> TÂY NINH

16 Tháng Mười Hai, 2020
  • Huệ Nghĩa
  • Giới Thiệu
  • Quảng Cáo
  • Chính sách và bảo mật
  • Liên hệ

© 2020 Kỹ Thuật Đầu Tư - Chia sẻ thông tin kỹ thuật đầu tưwww.kythuatdautu.com.

No Result
View All Result
  • Huệ Nghĩa
  • Chứng khoán
  • Tài chính
  • Doanh nghiệp
  • Bất động sản
  • Công nghệ
  • Vĩ mô
  • Thể thao
  • Giải trí
  • Cộng Đồng

© 2020 Kỹ Thuật Đầu Tư - Chia sẻ thông tin kỹ thuật đầu tưwww.kythuatdautu.com.

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist