SharePoint on-prem – easily renew expired certificates

Certificates are my “kryptonite”…hate the pain of going back to an old project and the first thing I have to deal with on the development environment are expired certificates.

SharePoint doesn’t like expired certificates as some features will not work as expected, so you’d better renew the certificates before doing anything else.

As a developer, this is not the type of task I do on my daily-basis, so every time I need to do it, I search for some guidance online and more than likely follow a guide on how to manually fix the problem.

Well, not anymore as this ends today thanks to my colleague Renato Gomes who introduced me to a fantastic tool that does all the work!

letsencrypt-win-simple is a simple, yet extremely useful, CLI tool that will deal with all the pain for us:

  1. Download the latest release to the SharePoint server
  2. Run the application as Administrator
  3. Choose the “Create new certificate” option
  4. On the next screen, choose the “Single binding of an IIS site” option
  5. The CLI will then list the IIS sites available and ask you to chose the one you would like to update – choose the one running the SharePoint site with the expired certificate
  6. Done!
  7. Close your browser sessions and open the SharePoint site again

 

The CLI interface looks like the image below:letsencrypt1

 

Now let’s get back to business and not worry about certificates!

Leave a Reply