Need help? Call us on 1300 789 260

Let's Encrypt certificate installation failed: Challenge marked as invalid

Difficulty: Intermediate

Prerequisites

  • Plesk / Conetix Control Panel login details

Overview

If you receive a " Let's Encrypt SSL certificate installation failed: Challenge marked as invalid " error when trying to add a domain or renew an existing one, it may be that you have a redirect in Apache or .htaccess which is breaking the challenge response. The error will look like this:

Let's Encrypt - Challenge marked as invalid

To correct, check for redirects using the guide below.

Instructions

  1. Check your .htaccess file for redirects. If there are complete matches for the entire domain, this won't be compatible with the Let's Encrypt challenge.
  2. If it's not within your .htaccess file, within Plesk go to the domain and then Apache and nginx Settings. If you have a blanket redirect (such as the one below), remove it and add it using the following guide: Plesk Onyx HTTPS redirect .
    Let's Encrypt - Additional Apache directives
  3. Try to renew or create the SSL certificate via Let's Encrypt again.
  4. If there are errors still, please contact your hosting provider for further assistance.
Was this article helpful? Yes No
👥

Having trouble? We’re here to help!

We’ve built our company with a serious focus on quality service. Feel free to give us a call!

1300 789 260