Knowledge base article
Unable to renew certificate: The Let’s Encrypt HTTP challenge failed
View other technical support articles
Other technical support articles
A beginners guide to email spoofing
Accessing your site before changing DNS
An introduction to email authentication
Basic WordPress security and site management
Check MySQL database table disk usage
Configure object cache with memcached and Litespeed Cache plugin
Configure spam filtering in cPanel
Connect via SFTP using SSH key authentication with FileZilla
Connecting to Serversaurus shared hosting via SFTP
Create a clone of your website
Create a SSH key pair and configure your SSH key in cPanel
Create a WordPress administrator via MySQL CLI
Create a WordPress administrator via phpMyAdmin
Create a WordPress cron task in cPanel
Disable automatic WordPress updates via wp-config.php
Download or restore individual files, directories or database backups with JetBackup
Enabling PHP extensions, Changing PHP Version and Setting PHP Options
Export or Import a MySQL database via CLI
Force HTTPS via .htaccess (cPanel)
Getting Started with Anycast DNS
Getting Started with the Content Delivery Network (CDN)
Getting Started with Virtual Machines
Go live with your WordPress staging website
Help! I need a backup of my cPanel-hosted website
Hide .html extension using .htaccess
How did my WordPress website get hacked? What do I do?
How to ensure website generated emails are delivered successfully
How to issue a Let’s Encrypt certificate
How to remove Site Software management
I can receive email but can’t send!
Introduction to LiteSpeed Cache
Manage DNS zones with the cPanel Zone Editor
Manual WordPress migrations in a nutshell
Migrate remote staging website to local hosting server
Migrate remote transactional website to local server
Migrating email from one POP/IMAP email account to another
My site and/or email service is down
Network Firewall (I can’t access my services on a non-standard port)
Optimising Wordfence firewall and security settings
Pointing your domain to Serversaurus
Pointing your domain to Squarespace with cPanel
Prevent website generated spam with CAPTCHA
Push updates from a staging to production website
Reconfigure production website to subdomain
Recover your hacked WordPress website
Remove Wordfence firewall block via MySQL CLI
Secure your WordPress installation
Setting up email on your iPhone
Subdomains for test sites & more
Understanding CloudLinux resource limits
Update a WordPress website to use a new domain name
Update your WordPress username via phpMyAdmin
Using Serversaurus’ nameservers but hosting your email elsewhere
Using the Serversaurus Cloud CDN with your WordPress website
This article will help you troubleshoot and resolve The Let's Encrypt HTTP challenge failed error from Let's Encrypt
The error can be identified by the following error/notification:
Unable to renew certificate: The Let's Encrypt HTTP challenge failed: acme error 'urn:acme:error:unauthorized'
You may receive this error for any of the following reasons:
Permissions Issue
Let's Encrypt may not have the correct permissions to access the required directories or files. You can check your permissions via the File Manager function in cPanel or using an SFTP client.
Within your public_html directory, make sure that the files ~public_html/.well-known and ~public_html/.well-known/acme-challenge both have the permission set to 755.
Conflicting Redirect Rule
Ensure there isn't a conflicting redirect rule adjusting your URL structure. Usually you can identify your configured redirects by viewing your .htaccess file.
To resolve this, you can add an exception so Let's Encrypt can access .well-known, this can be achieved by adding a rewrite condition like below into your .htaccess file:
# Allow .well-known through for Let's Encrypt.
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/
Please be aware the build of every website is different so although this code has worked for our support team previously, it has not always been successful. Serversaurus is not responsible for any unwanted interaction, it is up to you or your developer to understand how this code will interact with your website and if required, modify to be compatible with your website.
Domain is hosted externally
You can't issue a certificate for a domain that is hosted externally. Check which domains you are trying to issue the certificate for, if your website is hosted with Serversaurus but your mail services are hosted elsewhere, you will have to exclude mail.yourdomain.com from the certificate before attempting the certificate installation.
Last updated November 30, 2023