There are few easy steps to configure HTTPS with Letsencrypt on Asp.Net project.
While talking about the security of any online property, HTTPS (Hyper Text Transfer Protocol Secure) is the first thing that comes to mind. HTTPS is known for the protocol of secure communication between computers over the network.
Unlike HTTP, the communication protocol is encrypted in HTTPS which makes it a secure communication channel. HTTPS runs over SSL (Secure Socket Layer) as its name suggest, HTTP-over-SSL.
In this tutorial, we will learn to configure HTTPS with Letsencrypt on Asp.Net project
What is Letsencrypt?
In this article, I will practically help you to use free HTTPS on IIS for the Asp.Net project with Letsencrypt.
How to use free HTTPS on IIS?
First of all, you need to download the latest version of ACME client for Windows using this link. By the time of writing this post, v220.127.116.11 was available in the latest version. After you download, follow these steps.
1. Unzip the file.
2. Run the .exe (application file) with administrator right as shown below.
3. When you run the application for the first time, it looks like below with different options available.
According to your need, you can choose the right option for you. In this example, I choose the second option. After that, I choose to manually input the hostname.
I have covered some part of the input just for security purpose (I think so). It will also ask you for the valid email address which will be used later if you want to renew the certificate.
You have to complete all the options prompted during this process. There are few more options yet to enter which has not shown in the image above.
After the completion of this command process, the certificate will be installed on the path “C:\ProgramData”. Now you can use this certificate for HTTPS.