Using Let’s Encrypt to add an SSL certificate to your Umbraco siteAuthor: John Doyle
Lately I learned of a new tool which gets and sets an SSL certificate automatically for you and renews itself every 3 months – Let’s Encrypt.
I was eager to try out this new service on one of our Umbraco sites however, there was an issue when I tried to run the program.
Let’s Encrypt adds a folder called “.well-known” to the root of the site. It then uses this folder to verify the site and issue an SSL certificate. When you attempt to do this using an Umbraco site you will be given an error which says something along the lines of “Let’s Encrypt cannot access this folder”.
In order to get the SSL issued and installed you will need to modify the WebConfig of your Umbraco site like below.
<add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
<add key="umbracoReservedPaths" value="~/umbraco,~/install/,~/.well-known/" />
Re-run the Let’s Encrypt program and the SSL certificate should then be issued and installed for your Umbraco site.
Note: That this will also work for Azure hosted Umbraco sites using the KUDU Let’s Encrypt site extension.